Don't preload Selenium browser when remote

This commit is contained in:
Noah Horton 2024-04-03 13:06:50 -06:00 committed by GitHub
parent 3d418c0551
commit ce910c72da
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