Skip to content

Instantly share code, notes, and snippets.

@henryonsoftware
Last active May 9, 2018 06:46
Show Gist options
  • Save henryonsoftware/29bc51acab5053d8ccff65189ae6cee0 to your computer and use it in GitHub Desktop.
Save henryonsoftware/29bc51acab5053d8ccff65189ae6cee0 to your computer and use it in GitHub Desktop.
Install selenium on Homestead

Install selenium on Homestead vagrant box

All commands are in the terminal.

  1. Start vagrant box: vagrant up
  2. SSH into the Homestead Box: vagrant ssh from homestead directory
  3. Create a new folder for Selenium: mkdir selenium from the ~ directory
  4. Navigate to that folder: cd selenium
  5. Get Selenium: wget http://selenium-release.storage.googleapis.com/3.11/selenium-server-standalone-3.11.0.jar Note: This link comes from copying the link on http://docs.seleniumhq.org/download/
  6. Install Java: sudo apt-get install openjdk-8-jre-headless
  7. Run Selenium: java -jar selenium-server-standalone-3.11.0.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment