I'm having trouble getting Capybara (1.1.1) to automatically validate SSL certificates in Chrome.
This is my current Capybara configuration.
Capybara.run_server = false
Capybara.app_host = 'http://some.host.com'
Capybara.default_driver = :selenium
Capybara.register_driver :selenium do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome)
end
I read about the -trustAllSSLCertificates flag, but I'm not sure how to apply this when starting Selenium using Capybara.
Despo source
share