Module: Selenium::WebDriver::Chrome

Defined in:
lib/selenium/webdriver/chrome.rb,
lib/selenium/webdriver/chrome/bridge.rb,
lib/selenium/webdriver/chrome/driver.rb,
lib/selenium/webdriver/chrome/options.rb,
lib/selenium/webdriver/chrome/profile.rb,
lib/selenium/webdriver/chrome/service.rb

Defined Under Namespace

Modules: Bridge Classes: Driver, Options, Profile, Service

Class Method Summary collapse

Class Method Details

.driver_pathObject


36
37
38
39
40
# File 'lib/selenium/webdriver/chrome.rb', line 36

def self.driver_path
  WebDriver.logger.deprecate 'Selenium::WebDriver::Chrome#driver_path',
                             'Selenium::WebDriver::Chrome::Service#driver_path'
  Selenium::WebDriver::Chrome::Service.driver_path
end

.driver_path=(path) ⇒ Object


30
31
32
33
34
# File 'lib/selenium/webdriver/chrome.rb', line 30

def self.driver_path=(path)
  WebDriver.logger.deprecate 'Selenium::WebDriver::Chrome#driver_path=',
                             'Selenium::WebDriver::Chrome::Service#driver_path='
  Selenium::WebDriver::Chrome::Service.driver_path = path
end

.pathObject


47
48
49
# File 'lib/selenium/webdriver/chrome.rb', line 47

def self.path
  @path ||= nil
end

.path=(path) ⇒ Object


42
43
44
45
# File 'lib/selenium/webdriver/chrome.rb', line 42

def self.path=(path)
  Platform.assert_executable path
  @path = path
end