Skip to content

Commit

Permalink
Update test instructions in webdriverjs readme.
Browse files Browse the repository at this point in the history
The npm test command no longer accepts a target package name, it only
runs tests for the current package.

Fixes issue 8106.
  • Loading branch information
jleyba committed Oct 29, 2014
1 parent 9a554af commit ba5de5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/node/selenium-webdriver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ To run the tests, you will need to download a copy of the
[ChromeDriver](http://chromedriver.storage.googleapis.com/index.html) and make
sure it can be found on your `PATH`.

npm test selenium-webdriver
cd node_modules/selenium-webdriver/ && npm test

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

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

## Usage

Expand Down

0 comments on commit ba5de5f

Please sign in to comment.