Skip to content

Commit edc2d31

Browse files
lancediksonddavison
authored andcommitted
Fix WebDriver.wait() example
Signed-off-by: Daniel Davison <[email protected]>
1 parent 6abfa2f commit edc2d31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/webdriver/webdriver.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ webdriver.WebDriver.prototype.call = function(fn, opt_scope, var_args) {
667667
* *Example:* waiting up to 10 seconds for an element to be present and visible
668668
* on the page.
669669
*
670-
* var button = driver.wait(until.elementLocated(By.id('foo'), 10000);
670+
* var button = driver.wait(until.elementLocated(By.id('foo')), 10000);
671671
* button.click();
672672
*
673673
* This function may also be used to block the command flow on the resolution

0 commit comments

Comments
 (0)