Module: Selenium::WebDriver::Edge
- Defined in:
- lib/selenium/webdriver/edge.rb,
lib/selenium/webdriver/edge/bridge.rb,
lib/selenium/webdriver/edge/service.rb,
lib/selenium/webdriver/edge/legacy_support.rb
Defined Under Namespace
Modules: LegacySupport
Classes: Bridge, Service
Constant Summary
collapse
- MISSING_TEXT =
" Unable to find MicrosoftWebDriver. Please download the server from\n https://www.microsoft.com/en-us/download/details.aspx?id=48212 and place it\n somewhere on your PATH. More info at https://github.com/SeleniumHQ/selenium/wiki/MicrosoftWebDriver.\n".tr("\n", '').freeze
Class Method Summary
collapse
Class Method Details
.driver_path ⇒ Object
39
40
41
42
43
44
45
46
47
|
# File 'lib/selenium/webdriver/edge.rb', line 39
def self.driver_path
@driver_path ||= begin
path = Platform.find_binary('MicrosoftWebDriver')
raise Error::WebDriverError, MISSING_TEXT unless path
Platform.assert_executable path
path
end
end
|
.driver_path=(path) ⇒ Object
34
35
36
37
|
# File 'lib/selenium/webdriver/edge.rb', line 34
def self.driver_path=(path)
Platform.assert_executable path
@driver_path = path
end
|