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

Method script

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

Source from the content-addressed store, hash-verified

1211
1212 @property
1213 def script(self) -> Script:
1214 if not self._websocket_connection:
1215 self._start_bidi()
1216
1217 if not self._script:
1218 self._script = Script(self._websocket_connection, self)
1219
1220 return self._script
1221
1222 def _start_bidi(self) -> None:
1223 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