hugs (owner)

Revisions

gist: 157896 Download_button fork
public
Public Clone URL: git://gist.github.com/157896.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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