-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
How to manage browser tabs #182
Comments
I found it. See cdp target. |
Did you find any way to switch to a popup window ? |
Popup is an iframe or div block. |
It is a seperate browser window, the one's you get when you click on a sign in button for Google or Microsoft account. |
I have found this solution for now driver.switch_to_tab(driver._browser.tabs[1]) |
For some reason - None of the solutions are working Tried: Finally found working solutions Next, to select that tab Next do any action of that tab Eg. close it |
you can use methods like open_link_in_new_tab, switch_to_tab, to manage tab, also every get function like get, get_via_google returns a tab. |
Example from Selenium
get num tabs - driver.window_handles
switch to tab - driver.switch_to.window(tab hash)
Please write how to do it in botasaurus?
The text was updated successfully, but these errors were encountered: