Download selenium server standalone from here, put into application root and run it with command below.


Chrome browser needs chromedriver in the project folder and must be executable so download it from here and run chmod +x chromedriver and chmod 777 chromedriver commands to make it executable.

# If you want to use firefox:
java -jar selenium-server-standalone-2.43.1.jar
# If you want to use chromedriver:
java -jar selenium-server-standalone-2.43.1.jar"chromedriver"
# Note: chromedriver has Linux and Mac versions.