Module: Selenium::WebDriver::IE

Defined in:
lib/selenium/webdriver/ie.rb,
lib/selenium/webdriver/ie/bridge.rb,
lib/selenium/webdriver/ie/service.rb

Defined Under Namespace

Classes: Bridge, Service

Constant Summary collapse

MISSING_TEXT =
<<-ERROR.tr("\n", '').freeze
  Unable to find IEDriverServer. Please download the server from
  http://selenium-release.storage.googleapis.com/index.html and place it
  somewhere on your PATH. More info at https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver.
ERROR

Class Method Summary collapse

Class Method Details

.driver_pathObject



37
38
39
40
41
42
43
44
45
# File 'lib/selenium/webdriver/ie.rb', line 37

def self.driver_path
  @driver_path ||= begin
    path = Platform.find_binary('IEDriverServer')
    raise Error::WebDriverError, MISSING_TEXT unless path
    Platform.assert_executable path

    path
  end
end

.driver_path=(path) ⇒ Object



32
33
34
35
# File 'lib/selenium/webdriver/ie.rb', line 32

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