Skip to content

A platform for community discussion. Free, open, simple.

DEV: Partially revert 5b91dc184418000adaabf0dfe64eebbd8233d6ec (#24838)

Alan Guo Xiang Tan775dce1f132a
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index a52b8e5de7c..e9362f2c1c7 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -388,8 +388,7 @@ RSpec.configure do |config|
options.add_preference("download.default_directory", Downloads::FOLDER)
end
- client = Selenium::WebDriver::Remote::Http::Default.new(read_timeout: BROWSER_READ_TIMEOUT)
- driver_options = { browser: :chrome, http_client: client }
+ driver_options = { browser: :chrome }
if ENV["CAPYBARA_REMOTE_DRIVER_URL"].present?
driver_options[:browser] = :remote