()
| 38 | // Since it involves awaiting to get the instance and then another await to call the method. |
| 39 | // Using this allows the user to do this "await driver.script().addJavaScriptErrorHandler(callback)" |
| 40 | async #init() { |
| 41 | if (this.#logInspector !== undefined) { |
| 42 | return |
| 43 | } |
| 44 | this.#logInspector = await logInspector(this.#driver) |
| 45 | } |
| 46 | |
| 47 | async #initScript() { |
| 48 | if (this.#script !== undefined) { |
no outgoing calls
no test coverage detected