Skip to content

Commit

Permalink
Fix example in docs (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
surma authored and Matt Gaunt committed Apr 27, 2017
1 parent 52c62db commit ad02c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ browsers.forEach(browser => {

browser.getSeleniumDriver()
.then(webdriverInstance =>
webdriverInstance.get('https://google.com/');
.then(_ => webdriverInstance.wait(selenium.until.titleIs('Google'), 1000);
webdriverInstance.get('https://google.com/')
.then(_ => webdriverInstance.wait(selenium.until.titleIs('Google'), 1000))
);
});
```
Expand Down

0 comments on commit ad02c9b

Please sign in to comment.