diff --git a/spec/support/capybara.rb b/spec/support/capybara.rb index 84080276..819fcf50 100644 --- a/spec/support/capybara.rb +++ b/spec/support/capybara.rb @@ -7,7 +7,7 @@ client = Selenium::WebDriver::Remote::Http::Default.new client.read_timeout = 120 - Capybara::Selenium::Driver.new(app, browser: :chrome, http_client: client, capabilities: [options]) + Capybara::Selenium::Driver.new(app, browser: :chrome, http_client: client, options: options) end Capybara.default_driver = :chrome