Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit f54fd5d

Browse files
committed
docs(install): update docs for the new webdriver-manager script
1 parent c579a1a commit f54fd5d

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -93,18 +93,20 @@ Then run the tests with
9393
Appendix A: Setting up a standalone selenium server
9494
---------------------------------------------------
9595

96-
WebdriverJS does not natively include the selenium server - you must start a standalone selenium server. All you need is the latest [selenium-server-standalone.](https://code.google.com/p/selenium/downloads/list)
96+
WebdriverJS does not natively include the selenium server - you must start a standalone selenium server. All you need is the latest [selenium-server-standalone.](https://code.google.com/p/selenium/downloads/list). To drive individual browsers, you may need to install separate driver binaries.
9797

9898
To use with chrome browsers, [download chromedriver](http://chromedriver.storage.googleapis.com/index.html).
9999
[More information about chromedriver](https://sites.google.com/a/chromium.org/chromedriver/)
100100

101-
A script is included to do the download for you - run (add the --nocd option if you do not want to install ChromeDriver)
101+
The `webdriver-manager` script is included in the npm package to manage downloads for you. To see the options, run
102102

103-
./node_modules/protractor/bin/install_selenium_standalone
103+
npm install -g protractor
104+
webdriver-manager
104105

105-
Start the selenium standalone with
106+
Download and start the selenium server with
106107

107-
./selenium/start
108+
webdriver-manager update
109+
webdriver-manager start
108110

109111
For alternate ways to download and start the selenium standalone, see
110112
[the webdriver docs](http://docs.seleniumhq.org/docs/03_webdriver.jsp#running-standalone-selenium-server-for-use-with-remotedrivers).

docs/getting-started.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,11 @@ The example test expects a selenium standalone server to be running at
3838
localhost:4444. Protractor comes with a script to help download and install
3939
the standalone server. Run
4040

41-
node_modules/protractor/bin/install_selenium_standalone
41+
webdriver-manager update
4242

43-
This installs selenium standalone server and chromedriver to `./selenium`. Start
44-
the server with
43+
This installs selenium standalone server and chromedriver to `protractor/selenium`. Start the server with
4544

46-
./selenium/start
45+
webdriver-manager start
4746

4847
Protractor is now available as a command line program which takes one argument,
4948
a configuration file.

0 commit comments

Comments
 (0)