Object
@private
# File chrome/src/rb/lib/selenium/webdriver/chrome/launcher.rb, line 26 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
# File chrome/src/rb/lib/selenium/webdriver/chrome/launcher.rb, line 11 def self.launcher launcher = case Platform.os when :windows WindowsLauncher.new when :macosx MacOSXLauncher.new when :unix, :linux UnixLauncher.new else raise "unknown OS: #{Platform.os}" end launcher end
Generated with the Darkfish Rdoc Generator 2.