markhobson / docker-maven-chrome

Docker image for Java automated UI tests.
https://hub.docker.com/r/markhobson/maven-chrome/
Apache License 2.0
97 stars 81 forks source link

Can't run test in Chrome 106 #41

Closed bacnn0701 closed 1 year ago

bacnn0701 commented 1 year ago

Chrome update new version, after pull image & create session Chrome, can not run test in this. I'm using jdk 16

markhobson commented 1 year ago

Hi, I'm not clear how you're using this image. Chrome shouldn't auto-update inside the image and there's not a JDK16 image. Can you provide instructions to reproduce?

bacnn0701 commented 1 year ago

I am using two your image : chrome & firefox to run my test case, before this I always run successfully schedule every day but today, image chrome failed many times with no reason, image firefox still success. I update jdk 18, file yml config as below:

e2e-chrome-test: image: markhobson/maven-chrome:latest stage: test script:

markhobson commented 1 year ago

What error message are you getting?

bacnn0701 commented 1 year ago

Only Error I get [1666224544.814][SEVERE]: Timed out receiving message from renderer: 30.000 Oct 20, 2022 12:09:04 AM org.openqa.selenium.remote.http.WebSocket$Listener onError [ERROR] timeout: Timed out receiving message from renderer: 30.000 (Session info: headless chrome=106.0.5249.61)

markhobson commented 1 year ago

That error can be ignored - see #20.

Can you provide a minimal project that reproduces the problem locally with this Docker image?

bacnn0701 commented 1 year ago

Sorry I don't have any minimal project to help you reproduces the problems, I will try to follow #20 to resolve the problems. Thank you very much !!!

markhobson commented 1 year ago

Okay, it's hard to help without more information or being able to reproduce the problem. I'll close this until then.