Skip to content

Commit

Permalink
Don't preload Selenium browser when remote
Browse files Browse the repository at this point in the history
  • Loading branch information
nhorton authored Apr 3, 2024
1 parent 3d418c0 commit ce910c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_dispatch/system_testing/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def initialize(driver_type, **options, &capabilities)
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
Expand Down

0 comments on commit ce910c7

Please sign in to comment.