seleniumselenium-webdriverselenium-chromedriverwebdriver

SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 97 Current browser version is 100.0.4896.75


I'm trying to start a selenium webdriverinstance, but I get this error:

SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 97 Current browser version is 100.0.4896.75 with binary path *path here*

I already tried using chromium 98, it works, but a new vulnerability was found in version 100 and i would like to update


Solution

  • This error message...

    SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 97 Current browser version is 100.0.4896.75 with binary path...
    

    ...implies that the ChromeDriver was unable to initiate/spawn a new Browsing Context i.e. session.

    Your main issue is the incompatibility between the version of the binaries you are using as follows:

    Supports Chrome version 97

    So there is a clear mismatch between chromedriver=97.0 and the chrome=100.0.4896.75


    Solution

    Ensure that: