Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/seleniumbase/SeleniumBase
/ switch_to_window
Method
switch_to_window
seleniumbase/core/sb_cdp.py:1303–1304 ·
view source on GitHub ↗
(self, window)
Source
from the content-addressed store, hash-verified
1301
return
self.open_new_tab(url=url, switch_to=switch_to)
1302
1303
def
switch_to_window(self, window):
1304
self.switch_to_tab(window)
1305
1306
def
switch_to_newest_window(self):
1307
self.switch_to_tab(-1)
Callers
15
uc_special_open_if_cf
Function · 0.45
uc_open_with_tab
Function · 0.45
uc_open_with_reconnect
Function · 0.45
uc_gui_click_x_y
Function · 0.45
_uc_gui_click_captcha
Function · 0.45
_uc_gui_handle_captcha_
Function · 0.45
overschakelen_naar_venster
Method · 0.45
passer_à_fenêtre
Method · 0.45
passa_alla_finestra
Method · 0.45
cambiar_a_ventana
Method · 0.45
창으로_전환
Method · 0.45
переключиться_на_окно
Method · 0.45
Calls
1
switch_to_tab
Method · 0.95
Tested by
2
test_switch_to_tabs
Method · 0.36
test_presentation_4
Method · 0.36