Skip to content

Instantly share code, notes, and snippets.

@jarib
Created February 23, 2010 22:25
Show Gist options
  • Save jarib/312799 to your computer and use it in GitHub Desktop.
Save jarib/312799 to your computer and use it in GitHub Desktop.
require "rubygems"
require "selenium-webdriver"
d = Selenium::WebDriver.for :firefox
d.get "http://google.com"
p d.find_element(:css => 'div')
d.quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment