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

Method script

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

Source from the content-addressed store, hash-verified

1155 }
1156
1157 script() {
1158 // The Script calls the LogInspector which maintains state of the callbacks.
1159 // Returning a new instance of the same driver will not work while removing callbacks.
1160 if (this.#script === undefined) {
1161 this.#script = new Script(this)
1162 }
1163
1164 return this.#script
1165 }
1166
1167 network() {
1168 // The Network maintains state of the callbacks.

Calls

no outgoing calls

Tested by

no test coverage detected