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
C#
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.
10,627 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
337 questions
0 comments No comments
{count} votes

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