Skip to content

Instantly share code, notes, and snippets.

@danwrong
Created April 8, 2011 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danwrong/910802 to your computer and use it in GitHub Desktop.
Save danwrong/910802 to your computer and use it in GitHub Desktop.
ree-1.8.7-2009.10 > b = Selenium::Client::Driver.new :host => '192.168.83.131', :port => 4444, :browser => '*firefox c:\Program Files\Mozilla Firefox 3.6\firefox.exe', :url => 'http://172.16.145.39:8888', :timeout_in_seconds => 60
=> #<Selenium::Client::Driver:0x10169bfc0 @default_javascript_framework=:prototype, @port=4444, @default_timeout_in_seconds=60, @browser_url="http://172.16.145.39:8888", @session_id=nil, @extension_js="", @highlight_located_element_by_default=false, @host="192.168.83.131", @browser_string="*firefox c:\\Program Files\\Mozilla Firefox 3.6\\firefox.exe">
ree-1.8.7-2009.10 > b.start_new_browser_session => nil
ree-1.8.7-2009.10 > b.open '/test/test.html' => nil
ree-1.8.7-2009.10 > b.get_eval "window._qunitResults"
=> "[object Object]"
ree-1.8.7-2009.10 > b.get_eval "window._qunitResults.passed"
=> "19"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment