Merge pull request #51479 from nhorton/patch-5

Don't preload Selenium browser when remote
This commit is contained in:
Rafael Mendonça França 2024-04-18 14:32:51 -03:00 committed by GitHub
commit d1236c4b8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module ActionDispatch
gem "selenium-webdriver", ">= 4.0.0"
require "selenium/webdriver"
@browser = Browser.new(options[:using])
@browser.preload
@browser.preload unless @options[:browser] == :remote
else
@browser = nil
end