-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handling multiple window or pop-ups #91
Labels
Comments
No, multiple windows and non-js poopups are not supported by Splash at the moment. |
Thank you for the response. Since you've emphasized that it doesn't work with "non-js popups". Could you please tell me how I can handle JS popups? Just need some clues. |
I just meant that some popups are implemented as |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Selenium, we can do it by using window_handles and switch_to_window method.
Before clicking the link first store the window handle as
window_before = driver.window_handles[0]
after clicking the link store the window handle of a newly opened window as
window_after = driver.window_handles[1]
then execute the switch to window method to move to newly opened windowdriver.switch_to_window(window_after)
Is there any way to do it with Splash/Scrapy?
The text was updated successfully, but these errors were encountered: