Skip to content

Instantly share code, notes, and snippets.

@hugs
Created July 29, 2009 06:10
Show Gist options
  • Select an option

  • Save hugs/157896 to your computer and use it in GitHub Desktop.

Select an option

Save hugs/157896 to your computer and use it in GitHub Desktop.
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