I’ve been trying to kick the tires of the Faces 4.1.0 TCK using Open Liberty. Per what we discovered in the 4.0.x timeframe, that means that I’m trying to use the Selenium option, but things are not going well.
Trying to run it out of the box, I get this sort of error:
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports
Chrome version 118 Current browser version is 124.0.6367.207 with binary path /opt/google/chrome/chrome
The level of Selenium that the TCK has been upgraded to use supports Chrome v122-v124, but the magic of the webdrivermanager prereq does not seem to be pulling in the right ChromeDriver level. I can see that things changed with Chrome over
the last year and that this error is similar to something from the webdrivermanager doc (https://bonigarcia.dev/webdrivermanager/#support-for-chromedriver-115), but I don’t
know what the right solution is here. We could potentially update things to just use the Selenium Manager (https://www.selenium.dev/documentation/selenium_manager/ ) instead, but I haven’t
looked to see what that would entail.
I should note that if I simply revert Selenium and webdrivermanager to the versions that we used in the 4.0.x TCK then everything runs fine.
Brian Decker
Open Liberty TCK Lead