Method: Selenium::WebDriver::Safari::Options#as_json

Defined in:
lib/selenium/webdriver/safari/options.rb

#as_jsonObject



38
39
40
41
# File 'lib/selenium/webdriver/safari/options.rb', line 38

def as_json(*)
  @options[:browser_name] = Safari.technology_preview? ? 'Safari Technology Preview' : 'safari'
  super
end