Installation :

java -jar seleniumjar.jar

or

java -jar seleniumjar.jar -port 4545
  • To launch Selenium in hub mode, type these commands :

java -jar (path/to/)selenium-server-standalone-2.53.1.jar -role hub
java -jar (path/to/)selenium-server-standalone-2.53.1.jar -role node -nodeConfig (path/to/)DefaultNode.json