1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix "warning: instance variable @browser not initialized"

Followup to 000969928d.
This commit is contained in:
Eugene Kenny 2021-07-19 00:32:00 +01:00
parent 4a906cbbbc
commit 9a6ab5e89e

View file

@ -13,6 +13,8 @@ module ActionDispatch
require "selenium/webdriver"
@browser = Browser.new(options[:using])
@browser.preload
else
@browser = nil
end
end