[rb] allow safari options to specify technology preview
@@ -26,7 +26,7 @@ module Selenium
# @see https://developer.apple.com/documentation/webkit/about_webdriver_for_safari
CAPABILITIES = {automatic_inspection: 'safari:automaticInspection',
automatic_profiling: 'safari:automaticProfiling'}.freeze
- BROWSER = 'safari'
+ BROWSER = Selenium::WebDriver::Safari.technology_preview? ? "Safari Technology Preview" : 'safari'
def add_option(name, value = nil)
key = name.is_a?(Hash) ? name.keys.first : name
