mirror of https://github.com/rails/rails
Don't preload Selenium browser when remote
This commit is contained in:
parent
3d418c0551
commit
ce910c72da
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue