I'm trying to launch a simple selenium test in c # with the Edge browser, but I can't. The error that indicates me is the following:
OpenQA.Selenium.DriverServiceNotFoundException: 'The file C: \ Selenium \ Drivers \ MicrosoftWebDriver.exe does not exist. The driver can be downloaded at http://go.microsoft.com/fwlink/?LinkId=619687
This is the line of code that gives me the error: driver = new EdgeDriver ("C:\\Selenium\\Drivers");
In the path C: \ Selenium \ Drivers I have the following driver: msedgedriver.exe
Downloaded from the page: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/
That driver corresponds to the version I have of the Edge: Microsoft Edge is up to date. Version 80.0.361.62 (Official compilation) (64 bits)
What am I doing wrong? What is my error? how do I solve it?
Thanks