Created
April 21, 2015 06:14
-
-
Save nmnp/167089924cc9031ff0aa to your computer and use it in GitHub Desktop.
start and stop selenium server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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