rosolko / WebDriverManager.Net

Automatic Selenium Webdriver binaries management for .Net
MIT License
269 stars 83 forks source link

System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 116 Current browser version is 118.0.5993.71 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated) #284

Closed aarif313 closed 1 week ago

aarif313 commented 1 year ago

ChromeDriver is not able to support latest version of Chrome getting below exception

System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. ----> System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 116 Current browser version is 118.0.5993.71 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe (SessionNotCreated)

aarif313 commented 1 year ago

Using latest versions of NuGet packages

Selenium WebDriver --> 4.14.1

WebDriverManager --> 2.17.1

maevskiy-k-abcloudz commented 1 year ago

I have the same error.

PatrickMurrell commented 9 months ago

The issue I found was that I was using a cached version of chromedriver in my project build debug folder. I had to close all active selenium instances, delete the driver exe, and re-run the program.

rosolko commented 1 week ago

Can't reproduce