MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / __init__

Method __init__

py/selenium/webdriver/remote/switch_to.py:33–36  ·  view source on GitHub ↗
(self, driver)

Source from the content-addressed store, hash-verified

31
32class SwitchTo:
33 def __init__(self, driver) -> None:
34 import weakref
35
36 self._driver = weakref.proxy(driver)
37
38 @property
39 def active_element(self) -> WebElement:

Callers

nothing calls this directly

Calls 1

proxyMethod · 0.45

Tested by

no test coverage detected