Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chromium driver version (79) does not match latest Chrome (81) #91

Open
oymo opened this issue Apr 15, 2020 · 5 comments
Open

Chromium driver version (79) does not match latest Chrome (81) #91

oymo opened this issue Apr 15, 2020 · 5 comments

Comments

@oymo
Copy link

oymo commented Apr 15, 2020

There is a conflict between the Chromium driver and Chrome versions in the 7.3.1 image, and probably also earlier images.
When we run our a simple Test Suite Collection by executing

docker run -t --rm -v "$(pwd)":/tmp/project katalonstudio/katalon:7.3.1 katalonc.sh -projectPath=/tmp/project -retry=0 -statusDelay=15 -testSuiteCollectionPath="Test Suites/TSC-eb" -apikey=xxx

It runs as expected and displays amongst much else

[07:06:10] : [Step 2/2] Starting Katalon Studio
[07:06:10] : [Step 2/2] + cat /katalon/version
[07:06:10] : [Step 2/2] Mozilla Firefox 75.0
[07:06:10] : [Step 2/2] Google Chrome 81.0.4044.92

[07:06:18] : [Step 2/2] INFO: Katalon Version: 7.3.1:

The problem is, that our test cases run with the Chrome browser fail, and the log states:

Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to open browser with url: ''
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:64)

Caused by: org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 79
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: '4b7863965329', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '4.19.76-linuxkit', java.version: '1.8.0_242'
Driver info: driver.version: CChromeDriver

The Chrome driver in the docker image, seems to be:
ChromeDriver 79.0.3945.36

@oymo
Copy link
Author

oymo commented Apr 16, 2020

Furthermore, I see the same errors when using the option "--config -webui.autoUpdateDrivers=true".

@StijnMeersschaert
Copy link

Hi,

Our tests are failing for the exact same reason. Setting the browser version in the project settings > Desired Capabilities > Web UI also didn't fix it.

@StijnMeersschaert
Copy link

@oymo we temporarily worked around this for now by using the last version before 7.3: katalonstudio/katalon:7.2.10

@oymo
Copy link
Author

oymo commented Apr 18, 2020

@StijnMeersschaert Thanks, for sharing, Stijn. We also found a workaround for the latest version, by downloading the latest chromium driver for Linux, and placing this in a special folder of our Katalon project structure. See:
https://forum.katalon.com/t/chromedriver-not-working-on-chrome-80/42133
and:
https://docs.katalon.com/katalon-studio/docs/handle-webdrivers.html#replace-webdriver-binaries-project-level

@JoshuaSLYoung
Copy link

Are there any plans to fix this underlying issue, which is that the --config -webui.autoUpdateDrivers=true argument does not appear to be working?

I too had to work around this issue by using the last known (to me) working version of the Katalon docker container: katalonstudio/katalon:7.2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants