Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ send_handle
Method
send_handle
py/selenium/webdriver/remote/switch_to.py:125–126 ·
view source on GitHub ↗
(h)
Source
from the content-addressed store, hash-verified
123
124
def
_w3c_window(self, window_name: str) -> None:
125
def
send_handle(h):
126
self._driver.execute(Command.SWITCH_TO_WINDOW, {
"handle"
: h})
127
128
try
:
129
# Try using it as a handle first.
Callers
nothing calls this directly
Calls
1
execute
Method · 0.65
Tested by
no test coverage detected