OK, I checked Geb's dependency list on mvnrepository.com, that helped me
to determine that Geb up to 4.1 still works with Spock 1.3 and Groovy
2.5, so I updated my project successfully to

  -- Geb 4.1,
  -- Spock 1.3,
  -- Groovy 2.5.14,
  -- Selenium 3.141.59,
  -- HtmlUnit 2.58.0.

The next step would be the upgrade to Geb 5.x, Spock 2.x and Groovy 3
(or optionally the new Spock 2.2 milestone supporting Groovy 4 already).
I am not expecting big problems there. But the actual question about
Selenium 4.x remains. I just want to give you some context before
replying.

-- 
Alexander Kriegisch
https://scrum-master.de


Alexander Kriegisch schrieb am 20.02.2022 09:31 (GMT +07:00):

> 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 3.58.0. That 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.
> 
> 
> On Friday, November 5, 2021 [email protected] wrote:
> 
>> unfortunately no Selenium 4 compatible htmlunit driver version has
>> been released yet and Geb's test suite depends significantly on
>> htmlunit driver so I'm unable to verify if Geb is compatible with
>> Selenium 4 without an htmlunit-driver version compatible with it.

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/20220220073217.E52CE78C05DE%40dd19710.kasserver.com.

Reply via email to