Skip to content

Instantly share code, notes, and snippets.

@webevt
Created July 6, 2017 15:58
Show Gist options
  • Save webevt/5f78ac0ce8e5a63ede33458fcbb5c7ef to your computer and use it in GitHub Desktop.
Save webevt/5f78ac0ce8e5a63ede33458fcbb5c7ef to your computer and use it in GitHub Desktop.
Start selenium with chrome driver located nearby
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
java -Dwebdriver.chrome.driver="${DIR}/drivers/chromedriver" -jar "${DIR}/selenium-server-standalone-3.4.0.jar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment