Class: Selenium::WebDriver::Edge::Service

Inherits:
WebDriver::Service
  • Object
show all
Defined in:
lib/webdrivers/mswebdriver.rb

Class Method Summary collapse

Class Method Details

.driver_pathObject



21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/webdrivers/mswebdriver.rb', line 21

def driver_path
  unless Webdrivers::MSWebdriver.ignore
    Webdrivers.logger.warn 'Microsoft WebDriver for the Edge browser is no longer supported by Webdrivers'\
          ' gem. Due to changes in Edge implementation, the correct version can no longer be accurately provided. '\
          'Download driver, and specify the location with `Selenium::WebDriver::Edge.driver_path = "/driver/path"`, '\
          'or place it in PATH Environment Variable. '\
          'Download directions here: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/#downloads '\
          'To remove this warning in Webdrivers 3.x, set `Webdrivers.MSWebdriver.ignore`'
  end

  se_driver_path
end

.se_driver_pathObject



19
# File 'lib/webdrivers/mswebdriver.rb', line 19

alias se_driver_path driver_path