Method: Selenium::WebDriver::Chrome::Launcher.binary_path
- Defined in:
- lib/selenium/webdriver/chrome/launcher.rb
.binary_path ⇒ Object
31 32 33 34 35 36 |
# File 'lib/selenium/webdriver/chrome/launcher.rb', line 31 def self.binary_path @binary_path ||= ( path = possible_paths.find { |f| File.exist?(f) } path || raise(Error::WebDriverError, "Could not find Chrome binary. Make sure Chrome is installed (OS: #{Platform.os})") ) end |