Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to launch Edge browser #7437

Closed
amitstudent2006 opened this issue Jul 28, 2019 · 2 comments
Closed

Unable to launch Edge browser #7437

amitstudent2006 opened this issue Jul 28, 2019 · 2 comments

Comments

@amitstudent2006
Copy link

amitstudent2006 commented Jul 28, 2019

selenium edgebrowser

💬 Questions and Help

Dear Team,

I have tried a lot to launch edge browser during our script execution with selenium C# but it is giving exception error and unable to launch edge browser with any url because I didn’t get ‘MicrosoftWebDriver.exe’ release file according to my OS build number(17763.404).When I user latest ‘MicrosoftWebDriver.exe’ release(17134), it is throwing exception error while executing edge driver instance line.
Kindly go through below my os detail and help me to assist/guide me whether we have any alternative solution for launching edit browser with url .

OS detail :-

Code :-
EdgeOptions options = new EdgeOptions();
this.Driver = new EdgeDriver("C:\Drivers\MicrosoftWebDriver.exe"
, options);
this.Driver.Manage().Window.Maximize();

         //   options.PageLoadStrategy = EdgePageLoadStrategy.Eager;
            //this.Driver = new EdgeDriver();
            //  this.Driver = new EdgeDriver(ConfigurationManager.AppSettings["EdgeDriverPath"]);

Error :-

@jimevans
Copy link
Member

You’re still pointing the driver service instance to the old (17134) release of MicrosoftWebDriver.exe. Unless you’ve explicitly copied the 17763 version to your C:\Drivers folder from where it’s installed by dism, that won’t work. In any case, this is not an issue with the Selenium .NET bindings, and would be better asked on the user mailing list or the project IRC/Slack channel.

@lock
Copy link

lock bot commented Aug 27, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants