mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-01 12:23:22 +08:00
docs: forBrowser is now required for webdriver
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user