Hello Marcin.
Sorry to dig out this old thread, but it exists and I do not want to
start a new one.
https://github.com/SeleniumHQ/htmlunit-driver#version-3xx says:
> This version is compatible with Selenium 4
I tried bumping my old Spock/Geb sandbox project (based on Spock 1.3,
Groovy 2.5.14, Geb 3.0.1, Selenium 3.14.0) naively to Selenium 4.1.2 and
Geb 5.1 (while keeping the old Spock and Groovy versions for now), then
also HtmlUnit Driver from 2.36.0 to 2.58.0. Tha does not seem to work.
Reverting back to Geb 3.0.1 gets me further, but reports missing class
org.openqa.selenium.interactions.internal.Locatable - of course, because
now it is named org.openqa.selenium.interactions.Locatable (not
"internal"). I do not know if that would just be a small change in Geb
or any intermediate Geb version in between 3.0.1 and 5.1 can deal with
the new class name, depending on which Selenium version it is running
on, but out of the box it does not seem to work.
Would you mind checking again? I was hoping that due to the switch from
JSON Wire Protocol to WebDriver W3C protocol, some flaky tests involving
double-clicks, drag'n'drop and other things might become more stable on
more combinations of OS, browser and Java version. That is just a shot
into the blue, but worth a try.
BTW, do more recent Geb versions require specific minimum Spock and
Groovy versions? I found no obvious hints in the Geb release notes.
Regards
--
Alexander Kriegisch
https://scrum-master.de