MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / #initScript

Method #initScript

javascript/selenium-webdriver/lib/script.js:47–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45 }
46
47 async #initScript() {
48 if (this.#script !== undefined) {
49 return
50 }
51 this.#script = await scriptManager([], this.#driver)
52 }
53
54 async addJavaScriptErrorHandler(callback) {
55 await this.#init()

Callers 5

addDomMutationHandlerMethod · 0.95
pinMethod · 0.95
unpinMethod · 0.95
executeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected