selenium icon indicating copy to clipboard operation
selenium copied to clipboard

Edge WebDriverException: Cannot start the driver service on http://localhost:64301/

Open SCarlAdams opened this issue 8 years ago • 7 comments

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 avatar Oct 30 '18 14:10 SCarlAdams

@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.

jimevans avatar Oct 30 '18 17:10 jimevans

Thanks Jim. That gives me a very good avenue!

SCarlAdams avatar Oct 30 '18 18:10 SCarlAdams

Have the upgrade resolved the issue?

barancev avatar Nov 06 '18 06:11 barancev

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 avatar Nov 30 '18 14:11 SCarlAdams

@SCarlAdams Any news on the issue?

barancev avatar Jan 23 '19 09:01 barancev

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 .

SCarlAdams avatar Jan 23 '19 10:01 SCarlAdams

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.

barancev avatar Apr 14 '19 08:04 barancev