Class: Selenium::WebDriver::Safari::Service
- Inherits:
-
WebDriver::Service
- Object
- WebDriver::Service
- Selenium::WebDriver::Safari::Service
- 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
-
#initialize(path: nil, port: nil, log: nil, args: nil) ⇒ Service
constructor
A new instance of Service.
- #log= ⇒ Object
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 |