Home > Blockchain >  SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports
SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports

Time:09-22

I am currently new to robot framework. currently using latest version of chrome and ChromeDriver which is 105 but when i try to run the test it gives the message "SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 99" I have tried uninstalling everything and reinstalling it again but nothing works can anyone help me with this. Thank you!

Screenshots below: enter image description here SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 99 Current browser version is 105.0.5195.127 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe enter image description here

CodePudding user response:

Chrome driver has a page on how to identify the exact version that you need, but it's a pain, especially if you regularly update chrome, or want to make it part of a build process.

Not sure about robot framework, but chromedriver-autoinstaller sure helped me out when building a pipeline to get a selenium/chrome project going, as it will detect the version of chrome installed and install the correct driver version automatically.

CodePudding user response:

Have you install the latest chromedriver for chrome version 105.0.5195.127?

https://chromedriver.chromium.org/downloads

Or maybe you have two different version of binaries and linked into environment variables that makes the error, Check it.

To check the version of the chromedriver use the v command argument. Example: chromedriver.exe /v

I really don't know exactly how to find the chromedriver you have installed.

Im trying to help, and i can't comment.

  • Related