From fa8b3411f1f3d834521caa2a845f0ac269fec415 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 31 Jan 2020 14:29:23 -0500 Subject: [PATCH] update WebDriver name for Microsoft Edge (Chromium) -the webdriver for Microsoft Edge (Chromium) is msedgedriver.exe -the webdriver for Microsoft Edge Legacy is MicrosoftWebDriver.exe (if you need to support Legacy version you need to have a new entry for edge_legacy) -this code change was tested successfully with Microsoft Edge Chromium x64 Release 79 -see also my previous pull request for documentation update drivers.md https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ --- src/connection/directConnectionProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connection/directConnectionProvider.js b/src/connection/directConnectionProvider.js index 7920dfa9..1c252394 100644 --- a/src/connection/directConnectionProvider.js +++ b/src/connection/directConnectionProvider.js @@ -197,7 +197,7 @@ DirectConnectionProvider.prototype.setupEnv = function() { } else if (browserName == 'edge') { promises.push((function() { var deferred = q.defer(); - var filename = path.join(that._getSeleniumRoot(), 'MicrosoftWebDriver.exe'); + var filename = path.join(that._getSeleniumRoot(), 'msedgedriver.exe'); that.seleniumConfig.executables.edgedriver = filename; deferred.resolve(filename); return deferred.promise;