Hi,

If you don't want to follow the example from
https://gebish.org/manual/current/#listening-to-page-events showing how to
register that listener via GebConfig.groovy config script then then you can
always use
https://gebish.org/manual/4.0/api/geb/Configuration.html#setPageEventListener(geb.PageEventListener)
on an instance of Configuration obtained using
https://gebish.org/manual/4.0/api/geb/Browser.html#getConfig().

Hope this helps.

Marcin

On Mon, May 3, 2021 at 10:31 AM [email protected] <[email protected]>
wrote:

> hi,
>
> this changed https://gebish.org/manual/current/#listening-to-page-events
> too with the newest geb versions.
>
> we had a *registerPageChangeListener * before
> https://gebish.org/manual/1.1/api/geb/Browser.html#registerPageChangeListener(geb.PageChangeListener),
> but how can I register the new *PageEventListener*?
>
> could you please give me an example?
>
> https://gebish.org/manual/current/api/geb/Configuration.html#getPageEventListener()
> does not really help me.
>
> thank you!
>
> --
> 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/6c217efc-3a20-41c9-bd77-d2f7d3f4adc3n%40googlegroups.com
> <https://groups.google.com/d/msgid/geb-user/6c217efc-3a20-41c9-bd77-d2f7d3f4adc3n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CA%2B52dQTbPuWF_AWSh0exKQbsxziSOXpOa0VO3szuTpf_k%2B%2BmMw%40mail.gmail.com.

Reply via email to