Skip to content

Commit

Permalink
Fix WebDriver.wait() example
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Davison <[email protected]>
  • Loading branch information
lancedikson authored and ddavison committed Aug 4, 2015
1 parent 6abfa2f commit edc2d31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/webdriver/webdriver.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ webdriver.WebDriver.prototype.call = function(fn, opt_scope, var_args) {
* *Example:* waiting up to 10 seconds for an element to be present and visible
* on the page.
*
* var button = driver.wait(until.elementLocated(By.id('foo'), 10000);
* var button = driver.wait(until.elementLocated(By.id('foo')), 10000);
* button.click();
*
* This function may also be used to block the command flow on the resolution
Expand Down

0 comments on commit edc2d31

Please sign in to comment.