Edge WebDriverException: Cannot start the driver service on http://localhost:64301/
OS:
Windows 10
Selenium Version:
.net Selenium.WebDriver package 3.14.0
MicrosoftWebDriver: Release 17134 Version: 6.17134 | Edge version supported: 17.17134
Browser:
Microsoft Edge
Browser Version:
Edge 41.16299.15.0
Language: C#
Expected Behavior - Create a webDriver instance for Microsoft Edge.
Actual Behavior -
OpenQA.Selenium.WebDriverException: OpenQA.Selenium.WebDriverException: Cannot start the driver service on http://localhost:64301/
Steps to reproduce -
// path to MicrosoftWebDriver in system path.
// First Attempt: EdgeDriverService service = EdgeDriverService.CreateDefaultService(@"C:\public\data\trunk\AutomatedTesting\eBusinessSeleniumTest\packages\currentEdgeDriver"); WebDriver = new EdgeDriver(service);
// second attempt: WebDriver = new EdgeDriver();
Both have exactly the same results.
@SCarlAdams This sounds suspiciously like a mismatched driver executable (browser version 16299, but the executable supports 17134). When you update to the Windows 10 October 2018 Update, the problem goes away, because the driver is shipped as part of a feature of the OS.
Thanks Jim. That gives me a very good avenue!
Have the upgrade resolved the issue?
Sorry I have not replied back. Things happen. But because of issues the organization is not installing the October 2018 update. I will wait for the next one and see.
On Tue, Nov 6, 2018 at 1:18 AM Alexei Barantsev [email protected] wrote:
Have the upgrade resolved the issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SeleniumHQ/selenium/issues/6598#issuecomment-436143277, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao0tUNrWuiB2W8jl0XH-8Jqu4TciqGxTks5usSm0gaJpZM4YCGH4 .
@SCarlAdams Any news on the issue?
On govt. Furlough, so no.
On Wed, Jan 23, 2019, 4:12 AM Alexei Barantsev <[email protected] wrote:
@SCarlAdams https://github.com/SCarlAdams Any news on the issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SeleniumHQ/selenium/issues/6598#issuecomment-456725507, or mute the thread https://github.com/notifications/unsubscribe-auth/Ao0tUEf9yTJ8-A4x51Yodj1m0IxfeBZHks5vGCdkgaJpZM4YCGH4 .
I'm going to close the issue for now because we can't do anything on Selenium side to fix it. You have to upgrade the driver provided by Microsoft.