markhobson / docker-maven-chrome

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

Update devtools solution with Selenium 4.23.1 #57

Closed Dlankheet closed 1 month ago

Dlankheet commented 2 months ago

We have our pipeline running with the image for JDK 21 with selenium 4.23.1. But the chrome drivers are too old to run with this is version. Is it possible to update them to the latest version?

markhobson commented 2 months ago

Hi, there's a few tasks in order to do this:

  1. Upgrade Chrome to 128.0.6613.119
  2. Upgrade ChromeDriver to 128.0.6613.119
  3. Upgrade Selenium in the test project & demo to 4.24.0 to work with Chrome 128
  4. Drop JDK 8 support since Selenium moved to Java 11 in 4.14.0
  5. Investigate and resolve the failing test

There's also a PR #58 that has attempted to start this.

markhobson commented 1 month ago

Upgraded Chrome and ChromeDriver to 130.0.6723.58.

Had to drop Java 8 support since Selenium 4.14.0 requires Java 11. Also updated demo/test projects to use a standalone server to isolate them from external website changes such as DuckDuckGo.