generators/config/templates/drivers/headless_firefox.rb in howitzer-2.2.0 vs generators/config/templates/drivers/headless_firefox.rb in howitzer-2.3.0
- old
+ new
@@ -11,10 +11,10 @@
profile['network.automatic-ntlm-auth.trusted-uris'] = Howitzer.app_host
profile['general.useragent.override'] = Howitzer.user_agent if Howitzer.user_agent.present?
end
options = Selenium::WebDriver::Firefox::Options.new(args: startup_flags, profile: ff_profile)
params = { browser: :firefox, options: options }
- Capybara::Selenium::Driver.new app, params
+ Capybara::Selenium::Driver.new app, **params
end
Capybara.javascript_driver = :headless_firefox
Capybara::Screenshot.class_eval do