I am trying to setup Selenium Tests with the Selenium web driver. I have installed the Selenium Libraries on the Visual Studio.
I have this code here:
IWebDriver driver = new ChromeDriver();
driver.Navigate().GoToUrl("https://www.google.com/");
I get this error:
System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 85 (SessionNotCreated)
Stack Trace:
RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
RemoteWebDriver.ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
ChromeDriver.ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
ChromeDriver.ctor(ChromeOptions options)
ChromeDriver.ctor()
UnitTest1.WebDriverTesting() line 70
I have checked the Libraries that I have installed. It as latest version of Chrome driver 90 and also installed version of Chrome is 90.
Any lead will be appreciated.
Thanks

binfolder and remove the.exemanually as well. - JD2775