Created
April 26, 2011 17:48
-
-
Save wizardishungry/942739 to your computer and use it in GitHub Desktop.
Script to launch selenium server locally and run a test harness
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
#!/bin/bash | |
java -jar jars/selenium-server.jar -trustAllSSLCertificates & | |
ME=$! | |
CODE=1 | |
until [ "$CODE" -eq "0" ]; do | |
sleep 0.25 | |
nc -z localhost 4444 | |
CODE=$? | |
done | |
./harness.pl -h localhost -p 4444 -t httphost.example.com | |
kill $! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment