From ba5de5f7dea47a858a7a118f3436c94f1c50ce91 Mon Sep 17 00:00:00 2001 From: Jason Leyba Date: Tue, 28 Oct 2014 17:20:06 -0700 Subject: [PATCH] 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. --- javascript/node/selenium-webdriver/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/node/selenium-webdriver/README.md b/javascript/node/selenium-webdriver/README.md index 9aeb6e594c50f..a04897d72d43e 100644 --- a/javascript/node/selenium-webdriver/README.md +++ b/javascript/node/selenium-webdriver/README.md @@ -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 @@ -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