Module: Selenium::WebDriver::Chrome

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

Defined Under Namespace

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

Class Method Summary collapse

Class Method Details

.driver_pathObject



38
39
40
41
42
43
# File 'rb/lib/selenium/webdriver/chrome.rb', line 38

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

.driver_path=(path) ⇒ Object



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

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

.pathObject



50
51
52
# File 'rb/lib/selenium/webdriver/chrome.rb', line 50

def self.path
  @path ||= nil
end

.path=(path) ⇒ Object



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

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