Skip to content

Instantly share code, notes, and snippets.

@jimevans
Created May 19, 2011 23:36
Show Gist options
  • Save jimevans/982030 to your computer and use it in GitHub Desktop.
Save jimevans/982030 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'selenium-webdriver'
profile = Selenium::WebDriver::Firefox::Profile.new
caps = Selenium::WebDriver::Remote::Capabilities.firefox
caps.firefox_profile = profile
caps = Selenium::WebDriver.for :remote, :url => "http://localhost:4444/wd/hub", :desired_capabilities => caps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment