From 137f3b84392751955d34b22145cb9b0c643c01ac Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 3 Feb 2015 11:38:22 -0800 Subject: [PATCH] docs: forBrowser is now required for webdriver --- docs/tutorial/using-selenium-and-webdriver.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/tutorial/using-selenium-and-webdriver.md b/docs/tutorial/using-selenium-and-webdriver.md index 1c0b8a5cf269..30167bf488d3 100644 --- a/docs/tutorial/using-selenium-and-webdriver.md +++ b/docs/tutorial/using-selenium-and-webdriver.md @@ -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');