Skip to content

Commit ba5de5f

Browse files
committedOct 29, 2014
Update test instructions in webdriverjs readme.
The npm test command no longer accepts a target package name, it only runs tests for the current package. Fixes issue 8106.
1 parent 9a554af commit ba5de5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎javascript/node/selenium-webdriver/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To run the tests, you will need to download a copy of the
1919
[ChromeDriver](http://chromedriver.storage.googleapis.com/index.html) and make
2020
sure it can be found on your `PATH`.
2121

22-
npm test selenium-webdriver
22+
cd node_modules/selenium-webdriver/ && npm test
2323

2424
To run the tests against multiple browsers, download the
2525
[Selenium server](http://selenium-release.storage.googleapis.com/index.html) and
@@ -28,7 +28,7 @@ You can use the `SELENIUM_BROWSER` environment variable to define a
2828
comma-separated list of browsers you wish to test against. For example:
2929

3030
export SELENIUM_SERVER_JAR=path/to/selenium-server-standalone-2.33.0.jar
31-
SELENIUM_BROWSER=chrome,firefox npm test selenium-webdriver
31+
SELENIUM_BROWSER=chrome,firefox npm test
3232

3333
## Usage
3434

0 commit comments

Comments
 (0)
Please sign in to comment.