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

Method script

javascript/selenium-webdriver/lib/webdriver.js:1195–1203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1193 }
1194
1195 script() {
1196 // The Script calls the LogInspector which maintains state of the callbacks.
1197 // Returning a new instance of the same driver will not work while removing callbacks.
1198 if (this.#script === undefined) {
1199 this.#script = new Script(this)
1200 }
1201
1202 return this.#script
1203 }
1204
1205 network() {
1206 // The Network maintains state of the callbacks.

Calls

no outgoing calls

Tested by

no test coverage detected