Skip to content

Instantly share code, notes, and snippets.

@nmnp
Created April 21, 2015 06:14
Show Gist options
  • Save nmnp/167089924cc9031ff0aa to your computer and use it in GitHub Desktop.
Save nmnp/167089924cc9031ff0aa to your computer and use it in GitHub Desktop.
start and stop selenium server
alias startsel="nohup java -Dwebdriver.chrome.driver=./chromedriver -jar selenium-server-standalone-2.45.0.jar &"
stopsel() {
ps xu | grep selenium | grep -v grep | awk '{ print $2 }' | xargs kill -9
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment