Created
July 29, 2009 06:10
-
-
Save hugs/157896 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
| Terminal #1: | |
| $ cd ~/selenium | |
| # Download Selenium 1.0.1... | |
| # If you don't have 'wget' installed, download and unzip manually | |
| $ wget --quiet http://release.seleniumhq.org/selenium-remote-control/1.0.1/selenium-remote-control-1.0.1-dist.zip | |
| $ unzip -q selenium-remote-control-1.0.1-dist.zip | |
| $ cd selenium-remote-control-1.0.1/selenium-server-1.0.1/ | |
| # IMPORTANT! Set path to Firefox executable dir | |
| # This will be different on your machine! | |
| $ export PATH=/Applications/Firefox\ 3.5.app/Contents/MacOS:$PATH | |
| # Start Selenium RC Server: | |
| $ java -jar selenium-server.jar | |
| Terminal #2: | |
| $ cd ~/selenium | |
| $ cd selenium-remote-control-1.0.1/selenium-python-client-driver-1.0.1 | |
| $ python test_google.py | |
| . | |
| ---------------------------------------------------------------------- | |
| Ran 1 test in 14.143s | |
| OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment