Created
June 6, 2012 10:49
-
-
Save clemherreman/2881256 to your computer and use it in GitHub Desktop.
Aliases form launching/killink Selenium daemon
This file contains hidden or 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
#!/bin/sh | |
ps -ef|grep selenium|grep -v grep|awk '{print $2}'|xargs kill -9 |
This file contains hidden or 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
#!/bin/sh | |
java -jar /Users/clemherreman/.selenium/selenium-server-standalone-2.24.1.jar -Dwebdriver.chrome.driver=/Users/clemherreman/.selenium/chromedriver > /dev/null & | |
sleep 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Exemple:
I added some aliases in my .bash_rc (I put the selenium .jar in ~/.selenium)