From 2043356fa32c42e7a838f21181d566e6b8dc082c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 17 May 2016 15:09:09 -0700 Subject: [PATCH] Recommend electron-chromedriver --- docs/tutorial/using-selenium-and-webdriver.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/using-selenium-and-webdriver.md b/docs/tutorial/using-selenium-and-webdriver.md index 7cfa24ef31e8..05b8c4b894be 100644 --- a/docs/tutorial/using-selenium-and-webdriver.md +++ b/docs/tutorial/using-selenium-and-webdriver.md @@ -21,7 +21,8 @@ a Node package for testing with web driver, we will use it as an example. First you need to download the `chromedriver` binary, and run it: ```bash -$ ./chromedriver +$ npm install electron-chromedriver +$ ./node_modules/.bin/chromedriver Starting ChromeDriver (v2.10.291558) on port 9515 Only local connections are allowed. ``` @@ -77,7 +78,8 @@ driver. First you need to download the `chromedriver` binary, and run it: ```bash -$ chromedriver --url-base=wd/hub --port=9515 +$ npm install electron-chromedriver +$ ./node_modules/.bin/chromedriver --url-base=wd/hub --port=9515 Starting ChromeDriver (v2.10.291558) on port 9515 Only local connections are allowed. ```