We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a333c5 commit ae95e8bCopy full SHA for ae95e8b
seleniumbase/fixtures/base_case.py
@@ -3102,8 +3102,7 @@ def set_content_to_parent_frame(self):
3102
3103
def open_new_window(self, switch_to=True):
3104
"""Opens a new browser tab/window and switches to it by default."""
3105
- self.__check_scope()
3106
- self.__check_browser() # Current window must exist to open a new one
+ self.wait_for_ready_state_complete()
3107
self.driver.execute_script("window.open('');")
3108
time.sleep(0.01)
3109
if switch_to:
0 commit comments