Skip to content

Instantly share code, notes, and snippets.

@ptb
Created May 9, 2013 21:59
Show Gist options
  • Select an option

  • Save ptb/5550960 to your computer and use it in GitHub Desktop.

Select an option

Save ptb/5550960 to your computer and use it in GitHub Desktop.
# http://blog.jambura.com/2013/03/27/test-your-websites-features-in-firefox-safari-and-chrome-using-rspec-and-capybara-with-selenium/
# brew install go
# git clone --depth 1 https://github.com/SeleniumHQ/selenium.git
# https://developer.apple.com/account/safari/certificate/
# selenium/go safari
# open build/javascript/safari-driver/
# Safari > Develop > Show Extension Builder > Add Extension
Capybara.register_driver :safari do |app|
Capybara::Selenium::Driver.new(app, :browser => :safari)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment