interface PageEventListener
Implementations of this interface can be registered with Configuration to listen to certain Page events.
Type Params | Return Type | Name and description |
---|---|---|
|
abstract void |
beforeAtCheck(Browser browser, Page page) Called just before at checking is performed for a page |
|
abstract void |
onAtCheckFailure(Browser browser, Page page) Called just after at checking has failed for a page |
|
abstract void |
onAtCheckSuccess(Browser browser, Page page) Called just after at checking has succeeded for a page |
|
abstract void |
pageWillChange(Browser browser, Page oldPage, Page newPage) Called each time the browser's page instance changes. |
|
abstract void |
unexpectedPageEncountered(Browser browser, Page unexpectedPage) Called when an unexpected page is encountered |
Called just before at checking is performed for a page
Called just after at checking has failed for a page
Called just after at checking has succeeded for a page
Called each time the browser's page instance changes. Note that this is not when the browser navigates to a new page, but when it's page object changes.
Groovy API Documentation for Geb 5.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org