lib/selenium/webdriver/ie/options.rb in selenium-webdriver-3.142.7 vs lib/selenium/webdriver/ie/options.rb in selenium-webdriver-4.0.0.alpha1

- old
+ new

@@ -18,11 +18,11 @@ # under the License. module Selenium module WebDriver module IE - class Options < WebDriver::Common::Options + class Options KEY = 'se:ieOptions' SCROLL_TOP = 0 SCROLL_BOTTOM = 1 CAPABILITIES = { browser_attach_timeout: 'browserAttachTimeout', @@ -128,10 +128,10 @@ opts[capability_name] = capability_value unless capability_value.nil? end opts['ie.browserCommandLineSwitches'] = @args.to_a.join(' ') if @args.any? opts.merge!(@options) - {KEY => generate_as_json(opts)} + {KEY => opts} end end # Options end # IE end # WebDriver end # Selenium