I'm running ruby-rspec with selenium and capybara. When I navigate to the app host I'm getting an InsecureCertificateError in the browser.
How do I load a profile into selenium so that it will ignore the untrusted certificates? Below is my code:
Capybara.register_driver :selenium do |app|
profile = Selenium::WebDriver::Firefox::Profile.new
profile.assume_untrusted_certificate_issuer=false
Capybara::Selenium::Driver.new(app, browser: :firefox, profile: profile)
end