Class: Selenium::WebDriver::Safari::Service

Inherits:
WebDriver::Service
  • Object
show all
Defined in:
lib/selenium/webdriver/safari/service.rb

Constant Summary collapse

DEFAULT_PORT =
7050
EXECUTABLE =
'safaridriver'
SHUTDOWN_SUPPORTED =
false
DRIVER_PATH_ENV_KEY =
'SE_SAFARIDRIVER'

Instance Method Summary collapse

Constructor Details

#initialize(path: nil, port: nil, log: nil, args: nil) ⇒ Service

Returns a new instance of Service.



28
29
30
31
32
# File 'lib/selenium/webdriver/safari/service.rb', line 28

def initialize(path: nil, port: nil, log: nil, args: nil)
  raise Error::WebDriverError, 'Safari Service does not support setting log output' if log

  super
end

Instance Method Details

#log=Object



34
35
36
# File 'lib/selenium/webdriver/safari/service.rb', line 34

def log=(*)
  raise Error::WebDriverError, 'Safari Service does not support setting log output'
end