node.js - Handling popups while scrapping with PhantomJS or other libraries -
there lots of libraries out there scrap information web pages. of them had are:
- http://phantomjs.org/
- http://webdriver.io/
- http://casperjs.org/
- http://www.nightmarejs.org/
- http://codecept.io/
- https://data-miner.io
- http://chaijs.com/
surprisingly, none of them provide way scrap popup window. if do, couldn't figure out how it's done. scenario this:
-visit url (example.com) -fill login form -click login button
...and now, webpage opens popup (an actual browser window) need scrap.
any suggestions or workarounds popups?
webdriver.io offers change frame features, in case pop has frame tags or iframe tags can switch , test it. can read more here http://webdriver.io/api/protocol/frame.html#usage
Comments
Post a Comment