class Selenium::WebDriver::IE::Options

def add_argument(arg)

def add_argument(arg)
  @args << arg
end

def initialize(**opts)

def initialize(**opts)
  @args = (opts.delete(:args) || []).to_set
  super
  @options[:native_events] = true if @options[:native_events].nil?
end

def process_browser_options(browser_options)

def process_browser_options(browser_options)
  options = browser_options[KEY]
  options['ie.browserCommandLineSwitches'] = @args.to_a.join(' ') if @args.any?
end