Class: Selenium::WebDriver::Chrome::Service

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

Constant Summary collapse

DEFAULT_PORT =
9515
EXECUTABLE =
'chromedriver'
SHUTDOWN_SUPPORTED =
true
DRIVER_PATH_ENV_KEY =
'SE_CHROMEDRIVER'

Instance Attribute Summary

Attributes inherited from Service

#args, #executable_path, #host, #port

Instance Method Summary collapse

Methods inherited from Service

chrome, edge, #env_path, #find_driver_path, firefox, ie, #initialize, #launch, safari, #shutdown_supported

Constructor Details

This class inherits a constructor from Selenium::WebDriver::Service

Instance Method Details

#logObject



29
30
31
32
33
34
# File 'lib/selenium/webdriver/chrome/service.rb', line 29

def log
  return @log unless @log.is_a? String

  @args << "--log-path=#{@log}"
  @log = nil
end