class Selenium::WebDriver::Safari::Options
def add_option(name, value = nil)
def add_option(name, value = nil) key = name.is_a?(Hash) ? name.keys.first : name raise ArgumentError, 'Safari does not support options that are not namespaced' unless key.to_s.include?(':') super end
def as_json(*)
def as_json(*) @options[:browser_name] = Safari.technology_preview? ? 'Safari Technology Preview' : 'safari' super end