* return timeout error with information about the executing command on which the test hangs
()
| 10 | * return timeout error with information about the executing command on which the test hangs |
| 11 | */ |
| 12 | computeErrorMessage() { |
| 13 | const cmdName = this.#getExecCmdName() |
| 14 | const cmdArgs = this.#getExecCmdArgs(this.opts) |
| 15 | |
| 16 | const cmdInfoMsg = `when running "${cmdName}" with method "${this.opts.method}"` |
| 17 | const cmdArgsMsg = cmdArgs ? ` and args ${cmdArgs}` : '' |
| 18 | |
| 19 | return `WebDriverError: ${this.message} ${cmdInfoMsg}${cmdArgsMsg}` |
| 20 | } |
| 21 | |
| 22 | #getExecCmdName(): string { |
| 23 | const { href } = this.url |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…