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

Method constructor

javascript/selenium-webdriver/lib/error.js:28–41  ·  view source on GitHub ↗

@param {string=} opt_error the error message, if any.

(opt_error)

Source from the content-addressed store, hash-verified

26class WebDriverError extends Error {
27 /** @param {string=} opt_error the error message, if any. */
28 constructor(opt_error) {
29 super(opt_error)
30
31 /** @override */
32 this.name = this.constructor.name
33
34 /**
35 * A stacktrace reported by the remote webdriver endpoint that initially
36 * reported this error. This property will be an empty string if the remote
37 * end did not provide a stacktrace.
38 * @type {string}
39 */
40 this.remoteStacktrace = ''
41 }
42}
43
44/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected