* @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)
| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected