All commands are in the terminal.
- SSH into the Homestead Box -
vagrant ssh
from homestead directory - Create a new folder for Selenium -
mkdir selenium
from the~
directory - Navigate to that folder -
cd selenium
- Get Selenium -
wget http://selenium-release.storage.googleapis.com/2.45/selenium-server-standalone-2.45.0.jar
*Note: This link comes from copying the link on http://docs.seleniumhq.org/download/ - Install Java -
sudo apt-get install openjdk-7-jre-headless
- Run Selenium -
java -jar selenium-server-standalone-2.45.0.jar
Hi - I am trying to do this but found that openjdk-7 has been made obselete
http://askubuntu.com/questions/761127/how-do-i-install-openjdk-7-on-ubuntu-16-04-or-higher
I am trying version 8 instead.