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

Method constructor

javascript/selenium-webdriver/lib/script.js:30–32  ·  view source on GitHub ↗
(driver)

Source from the content-addressed store, hash-verified

28 #script
29
30 constructor(driver) {
31 this.#driver = driver
32 }
33
34 // This should be done in the constructor.
35 // But since it needs to call async methods we cannot do that in the constructor.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected