I am using a CI Pipeline to run my Katalon tests when new code is checked in.
The current workflow is as follows:
Katalon Studio: Running on my local and pulls to and from repo on GitLab.
When new code is added to our Katalon project, a pipeline is kicked off through GitLab-CI and the Katalon docker container. Our runner is a local machine running Ubuntu 18.04.5
Currently, I am running into the following error in my GitLab-CI pipeline console:
2020-09-21 15:03:59.258 ERROR c.k.katalon.core.main.TestCaseExecutor - ? Test Cases/MC_ManagementConsole/1_MC_Login FAILED. Reason:org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 83
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘runner-231684e9-project-677-concurrent-1’, ip: ‘172.17.0.5’, os.name: ‘Linux’, os.arch: ‘amd64’, os.version: ‘4.15.0-96-generic’, java.version: ‘1.8.0_265’
Driver info: driver.version: ChromeDriver
In the console mode, you can use this command argument, --config -webui.autoUpdateDrivers=true , to allow WebDriver binaries to be updated automatically. Learn more about Console Mode Execution.
@ThanhTo - I have tried adding --config -webui.autoUpdateDrivers=true to my argument, and that doesn’t seem to be working.
I was able to work around this issue by specifically defining an old version of the Katalon docker container to use in my yaml file. Instead of image: katalonstudio/katalon I am using image: katalonstudio/katalon:7.2.10 and that has allowed my pipeline to pass successfully again.
It feels to me like there is an issue with the latest version of the Katalon docker container that needs someone to take a look at. Auto update drivers would be the preferred solution if that was working