Method: Selenium::WebDriver::Service#binary_path

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

#binary_path(path) ⇒ Object

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.



57
58
59
60
61
62
# File 'lib/selenium/webdriver/common/service.rb', line 57

def binary_path(path)
  path = Platform.find_binary(self.class.executable) if path.nil?
  raise Error::WebDriverError, self.class.missing_text unless path
  Platform.assert_executable path
  path
end