Method: Selenium::WebDriver::Chrome::Service.executable_path

Defined in:
lib/selenium/webdriver/chrome/service.rb

.executable_pathObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


34
35
36
37
38
39
40
41
42
# File 'lib/selenium/webdriver/chrome/service.rb', line 34

def self.executable_path
  @executable_path ||= (
    path = Platform.find_binary "chromedriver"
    path or raise Error::WebDriverError, MISSING_TEXT
    Platform.assert_executable path

    path
  )
end