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
Install selenium on Homestead vagrant box
All commands are in the terminal.
Start vagrant box: vagrant up
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/3.141/selenium-server-standalone-3.141.59.jar Note: This link comes from copying the link on http://docs.seleniumhq.org/download/
Install Java: sudo apt-get install openjdk-8-jre-headless
Run Selenium: java -jar selenium-server-standalone-3.11.0.jar