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
Capybara::Selenium::Driver.new(app, browser: :firefox, profile: profile)