Skip to content

Instantly share code, notes, and snippets.

@jarib
Created April 29, 2010 13:54
Show Gist options
  • Save jarib/383633 to your computer and use it in GitHub Desktop.
Save jarib/383633 to your computer and use it in GitHub Desktop.
require "rubygems"
require "selenium-webdriver"
d = Selenium::WebDriver.for :firefox
p d.bridge.capabilities
d.get "http://jquery.org"
p d.execute_script('return $("div")[0];')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment