How do I start Selenium standalone Server?

How do I start Selenium standalone Server?

Set the following options in your config file to start the standalone Selenium Server from within your test script:

  1. seleniumServerJar - The location of the standalone Selenium Server’s jar file. Choose a file location.

  2. seleniumPort - The port that will be used to launch the standalone Selenium Server. If not specified, the value 4444 is used.

  3. seleniumArgs - An array of command-line parameters to pass to the server. Initiate the server with the -help flag to see a complete list.