Skip to content

driver.open_new_window() and driver.open_new_tab() dont work anymore? #2266

Answered by mdmintz
RickVK04 asked this question in Q&A
Discussion options

You must be logged in to vote

open_new_window() and open_new_tab() are SeleniumBase BaseCase methods, not driver methods. Here's an example of it:

SeleniumBase/examples/test_window_switching.py

You may want to look at SeleniumBase/help_docs/syntax_formats.md to learn the difference.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@RickVK04
Comment options

@ShivanHadi
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
3 participants