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

Method constructor

javascript/selenium-webdriver/lib/webdriver.js:80–86  ·  view source on GitHub ↗

* @param {string} message A descriptive error message. Should complete the * sentence "Waiting [...]" * @param {function(!WebDriver): OUT} fn The condition function to * evaluate on each iteration of the wait loop.

(message, fn)

Source from the content-addressed store, hash-verified

78 * evaluate on each iteration of the wait loop.
79 */
80 constructor(message, fn) {
81 /** @private {string} */
82 this.description_ = 'Waiting ' + message
83
84 /** @type {function(!WebDriver): OUT} */
85 this.fn = fn
86 }
87
88 /** @return {string} A description of this condition. */
89 description() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected