SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 99 Current browser version is 105

Viewed 65

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

1 Answers

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.

Related