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

Method __init__

py/selenium/webdriver/remote/script.py:289–291  ·  view source on GitHub ↗
(self, script: Any, driver: WebDriver | None = None)

Source from the content-addressed store, hash-verified

287 """
288
289 def __init__(self, script: Any, driver: WebDriver | None = None) -> None:
290 self._script = script
291 self._driver = driver
292
293 def _context(self, context_id: str | None) -> str | None:
294 if context_id is None and self._driver is not None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected