Method: Selenium::WebDriver::PhantomJS::Service.executable_path

Defined in:
lib/selenium/webdriver/phantomjs/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.



17
18
19
20
21
22
23
24
25
# File 'lib/selenium/webdriver/phantomjs/service.rb', line 17

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

    path
  )
end