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

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

Open
aarif313 opened this issue Oct 16, 2023 · 3 comments

Comments

@aarif313
Copy link

aarif313 commented Oct 16, 2023

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
Copy link
Author

Using latest versions of NuGet packages

Selenium WebDriver --> 4.14.1

WebDriverManager --> 2.17.1

@aarif313 aarif313 changed the title 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) TearDown : System.Reflection.TargetInvocationException : Exception has been thrown by the target of an invocation. 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) Oct 16, 2023
@maevskiy-k-abcloudz
Copy link

I have the same error.

@PatrickMurrell
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants