For context 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 what I'm currently trying to work with...
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