lib/generic_test/setup.rb in generic_test-0.2.0 vs lib/generic_test/setup.rb in generic_test-0.2.1

- old
+ new

@@ -7,10 +7,10 @@ ENV['HEADLESS'] ||= 'true' ENV['PAGE_NUM'] ||= '1' browser_args = %w[--disable-popup-blocking --no-sandbox --disable-dev-shm-usage] browser_args << '--headless' if ENV['HEADLESS'] == 'true' -GenericTest.browser = Watir::Browser.new :chrome, args: browser_args +GenericTest.browser = Watir::Browser.new :chrome, options: { args: browser_args } raise 'PAGE_URL environment variable not set' unless ENV['PAGE_URL'] require 'yamler' if File.exist?(GT_PAGE_SETTING_FILE) && !File.read(GT_PAGE_SETTING_FILE).empty?