docs: forBrowser is now required for webdriver
This commit is contained in:
parent
d17e6a3857
commit
137f3b8439
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ var driver = new webdriver.Builder().
|
|||
withCapabilities({chromeOptions: {
|
||||
// Here is the path to your atom-shell binary.
|
||||
binary: '/Path-to-Your-App.app/Contents/MacOS/Atom'}}).
|
||||
forBrowser('atom-shell').
|
||||
build();
|
||||
|
||||
driver.get('http://www.google.com');
|
||||
|
|
Loading…
Reference in a new issue