]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: forBrowser is now required for webdriver
authorCheng Zhao <zcbenz@gmail.com>
Tue, 3 Feb 2015 19:38:22 +0000 (11:38 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 3 Feb 2015 19:38:22 +0000 (11:38 -0800)
docs/tutorial/using-selenium-and-webdriver.md

index 1c0b8a5cf269a1008d1ed015f055ea033ec0d646..30167bf488d3f59806718c426f0585199186e214 100644 (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');