Class: Selenium::WebDriver::Safari::Service
- Inherits:
-
Selenium::WebDriver::Service
- Object
- Selenium::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 Attribute Summary
Attributes inherited from Selenium::WebDriver::Service
#args, #executable_path, #host, #log, #port
Instance Method Summary collapse
-
#initialize(path: nil, port: nil, log: nil, args: nil) ⇒ Service
constructor
A new instance of Service.
- #log= ⇒ Object
Methods inherited from Selenium::WebDriver::Service
chrome, edge, #env_path, #find_driver_path, firefox, ie, #launch, safari, #shutdown_supported
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 |