What Is The Optimal Solution When There Is Incompatibility Between Google Chrome Driver & Google Chrome Browser

O.A 41 Reputation points
2020-11-28T09:49:16.223+00:00

Error - " System.InvalidOperationException : session not created: This version of ChromeDriver only supports Chrome version 85 (SessionNotCreated)"

  • Version Of Google Chrome I Am Using: Version 87.0.4280.66 (Official Build) (64-bit)

43481-screen-shot-of-browser-compatibility-error.png
From Research, The Options Are:

  1. Downgrade Version Of Chrome Browser. So That It Becomes Compatible With The Chrome Driver On My PC.
  2. Update The Version Of Chrome Driver In My Framework To Become Compatible That Of The Google Chrome Browser I Currently Run
Developer technologies | Visual Studio | Testing
Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

Answer accepted by question author
Dylan Zhu-MSFT 6,436 Reputation points
2020-11-30T05:20:24.853+00:00

Hi OA-6000,

Please try to update your Selenium.WebDriver.ChromeDriver package to latest version.

If it doesn't work, you could try to download chrome driver here: https://sites.google.com/a/chromium.org/chromedriver/, and unzip this file, then specify it through your code:

ChromeDriver driver = new ChromeDriver(@"C:\Users\Administrator\Documents\test");      // the directory of chromedriver.exe  

Best Regards,
Dylan


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our **documentation to enable e-mail notifications if you want to receive the related email notification for this thread.**

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.