Reputation: 7900
There are lots of libraries out there to scrape information from web pages. Some of them which I had a look are:
Surprisingly, none of them provide a way to scrape a popup window. Even if they do, I couldn't figure out how it's done. The scenario is something like this:
-Visit a url (example.com)
-Fill login form
-Click login button
...and now, webpage opens a popup (an actual browser window) which I need to scrape.
Any suggestions or workarounds for popups?
Upvotes: 0
Views: 501
Reputation: 578
webdriver.io offers change frame features, so in case your pop up has frame tags or iframe tags you can switch to it and test it. You can read more here http://webdriver.io/api/protocol/frame.html#Usage
Upvotes: 1