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#
0 comments No comments
{count} votes

Accepted answer
  1. Dylan Zhu-MSFT 6,426 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.**


0 additional answers

Sort by: Most helpful

Your answer

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