docs: forBrowser is now required for webdriver

This commit is contained in:
Cheng Zhao 2015-02-03 11:38:22 -08:00
parent d17e6a3857
commit 137f3b8439

View file

@ -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');