From: Kevin Sawicki Date: Tue, 17 May 2016 22:09:09 +0000 (-0700) Subject: Recommend electron-chromedriver X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2043356fa32c42e7a838f21181d566e6b8dc082c;p=platform%2Fframework%2Fweb%2Fcrosswalk-tizen.git Recommend electron-chromedriver --- diff --git a/docs/tutorial/using-selenium-and-webdriver.md b/docs/tutorial/using-selenium-and-webdriver.md index 7cfa24e..05b8c4b 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. ```