Created
February 2, 2018 00:16
-
-
Save Sydney-o9/483b5b836306e874bbda90f59c268e63 to your computer and use it in GitHub Desktop.
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
# Start Selenium | |
sudo launchctl load /Library/LaunchDaemons/org.seleniumhq.selenium.plist | |
# Stop Selenium | |
sudo launchctl unload /Library/LaunchDaemons/org.seleniumhq.selenium.plist | |
# Is it working? | |
ps -ef | grep selenium | grep java | grep chromedriver | grep -v grep | grep -c selenium | |
# Will show 0 if selenium is not running, and 1 otherwise |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment