Skip to content

Commit ce910c7

Browse files
authored
Don't preload Selenium browser when remote
1 parent 3d418c0 commit ce910c7

File tree

1 file changed

+1
-1
lines changed
  • actionpack/lib/action_dispatch/system_testing

1 file changed

+1
-1
lines changed

actionpack/lib/action_dispatch/system_testing/driver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def initialize(driver_type, **options, &capabilities)
1818
gem "selenium-webdriver", ">= 4.0.0"
1919
require "selenium/webdriver"
2020
@browser = Browser.new(options[:using])
21-
@browser.preload
21+
@browser.preload unless @options[:browser] == :remote
2222
else
2323
@browser = nil
2424
end

0 commit comments

Comments
 (0)