Skip to content
Discussion options

You must be logged in to vote

There's switch_to_newest_tab() / switch_to_newest_window(). Eg:

sb.cdp.switch_to_newest_tab()

If any issues with that, call connect() / reconnect() and then use WebDriver tab-switching methods.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kijresil
Comment options

Answer selected by mdmintz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants