Home > front end >  session not created: exception
session not created: exception

Time:09-29

I'm getting below error in my selenium script.

org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 91 Current browser version is 94.0.4606.61 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe

Though I'm using chromedriver version 94 only but every time it is giving me this version 91 error. I've tried with explicitly giving path in setProperty and used bonegracia library as well. But this error in not getting resolved. My current browser version is displaying correctly here(94.0.4606.61).

CodePudding user response:

You might need to update the chromedriver.exe file with respect to you Chrome version.

Refer this like https://chromedriver.chromium.org/downloads and download If you are using Chrome version 94, please download ChromeDriver 94.0.4606.61 since as per the error message you Chrome browser version is 94.0.4606.61.

CodePudding user response:

The chromedriver you currently have is of version 91. The chromedriver version needs to match with your browser version (Chrome in your case). So, you need to download chromedriver version 94 and replace your current one with it.

  • Related