We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70eba09 commit 409512dCopy full SHA for 409512d
javascript/webdriver/until.js
@@ -64,7 +64,7 @@ var until = webdriver.until;
64
*/
65
until.Condition = function(message, fn) {
66
/** @private {string} */
67
- this.description_ = message;
+ this.description_ = 'Waiting ' + message;
68
69
/** @type {function(!webdriver.WebDriver): OUT} */
70
this.fn = fn;
javascript/webdriver/webdriver.js
@@ -648,7 +648,7 @@ webdriver.WebDriver.prototype.wait = function(
648
return webdriver.promise.consume(fn, null, [driver]);
649
}
650
return fn(driver);
651
- }, timeout, opt_message);
+ }, timeout, message);
652
};
653
654
0 commit comments