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:

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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -