How do I install Selenium standalone?

How do I install Selenium standalone?

To manually install and start the standalone Selenium Server, use the webdriver-manager command line tool that comes with Protractor.

  1. Run the webdriver-manager update command. This will install the server as well as the ChromeDriver.

  2. Run the webdriver-manager start command. This will launch the server. There will be numerous output logs, beginning with INFO. ‘Info - Started org.openqa.jetty.jetty.Server’ will be the last line.

  3. Consider leaving the server running while you run your tests.

  4. Set seleniumAddress to the address of the running server in your config file. The default value is http://localhost:4444/wd/hub.