Hi,
I am trying to execute test suite on circleci. When i try to run a test case i am getting this error
“org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 116”
Even tried to replace chrome file manually in application level, that also not helped for us.
Is there any other way. Can anyone help me on this?
On my machine, in the drivers folder for Katalon (Katalon_Studio_Windows_64\configuration\resources\drivers), I have the following:
So are you updating the “chrome” driver, or the “edgechromium” driver? My Chrome driver is from 2022, however, my EdgeChromium driver is from last month, version 130. Perhaps you are updating the wrong one?
Check out which version your Chrome is (settings > About Chrome), and then look online for a web driver for that version.
Rename the extension on your old driver, such as “…driver.113” and then unzip and move the driver’s “exe” to replace it, comparing the “new” name with the “old” name to ensure you have the correct driver in the correct folder.
In short, you have to choose a pair of Chrome browser and ChromeDriver of versions that are proved to work together without problem.
How to?
One way is to use the latest version of Chrome Browser and ChromeDriver. This is straight forward choice. However, Google upgrades Chrome browser very frequently. And Chrome browser on your PC automatically upgrades silently. Therefore when Chrome on your PC is automatically is upgraded, you would see see various errors. “SessionNotCreatedException” is one of the errors you might see.
Alternatively if you want to stay with a particular version of Chrome browser, you should choose some version of Chrome for Testing and choose an appropriate verion of ChromeDriver that works with the Chrome for Testing you chose.
This message indicates that the ChromeDriver version you are using is old. It indicates that you are possibly using a Katalon product of very old version.
Which product are you using? — Katalon Studio or Katalon Runtime Engine?
Which version are you using?
Have you tried updating the bundled ChromeDriver?
Have you tried upgrading the Katalon project?
Can you control the version of Chrome browser yourself?
Depends on how your CircleCI is configured on your environment to invoke drivers. Since circleci says 116 version, build your config to download 116 while executing.