I usually need to run scripts through GitLab pipeline. Some day ago, I reported a problem about incompatible webdriver error thrown when tried to run tests using Katalon docker image. My previous post is at
I then managed to run scripts using docker image 9.0.0.beta as mentioned in the post.
Today, I tried to run the scripts and again getting similar error, the webdriver has been updated but not the chrome browser as mentioned below
Starting ChromeDriver 118.0.5993.70 (e52f33f30b91b4ddfad649acddc39ab570473b86-refs/branch-heads/5993@{#1216}) on port 23652
All remote connections are allowed. Use an allowlist instead!
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
2023-10-16 05:46:07.700 ERROR c.k.katalon.core.main.TestCaseExecutor - ❌ Test Cases/Unified_Agent_Scripts/Workflow_Helping_Scripts/StartBrowserForAgent FAILED.
Reason:
org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 118
Current browser version is 117.0.5938.62 with binary path /opt/google/chrome/chrome
I am too much disappointed with the way how Katalon team is fixing the issues which are re-occuring within a month or so. I can’t continue with my testing because none of the avaiable image has same webdriver and chrome versions. This is unacceptable Katalon team.
To me, they are announcing the features but not owning them.
There is another similar problem reported
and a solution suggested by kazurayam but still no news on it as well.
My team has acknowledged this issue and plans to fix it in v9.0.0 next week’s release. We will address this high-frequency issue and try to fix it thoroughly. Please understand our efforts. Hope to help you more. Thank you
The issue is with browser not the web driver. Katalon docker image has web driver v118 but the browser in same image has v117, browser should be of same version as compared to webdriver for normal working.
I have tried other docker tags and saw that each tag has different version. I think that each docker image has a built-in fixed-version browser (Chrome, Firefox and Edge) and a built-in suitable webdriver’s version to run with it. However their webdrivers can be updated to latest with “-webui.autoUpdateDrivers=true”
If you don’t really need the latest webdriver, perhaps you can remove that line and run the script?