Implementations of this interface can be registered with Configuration to listen to certain Page events.
Type Params | Return Type | Name and description |
---|---|---|
|
void |
beforeAtCheck(Browser browser, Page page) Called just before at checking is performed for a page |
|
void |
onAtCheckFailure(Browser browser, Page page) Called just after at checking has failed for a page |
|
void |
onAtCheckSuccess(Browser browser, Page page) Called just after at checking has succeeded for a page |
|
void |
pageWillChange(Browser browser, Page oldPage, Page newPage) Called each time the browser's page instance changes. |
|
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 4.1 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org