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

Method script

py/selenium/webdriver/remote/webdriver.py:1212–1219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1210
1211 @property
1212 def script(self) -> Script:
1213 if not self._websocket_connection:
1214 self._start_bidi()
1215
1216 if not self._script:
1217 self._script = Script(self._websocket_connection, self)
1218
1219 return self._script
1220
1221 def _start_bidi(self) -> None:
1222 if self.caps.get("webSocketUrl"):

Callers

nothing calls this directly

Calls 2

_start_bidiMethod · 0.95
ScriptClass · 0.90

Tested by

no test coverage detected