@Deprecated interface PageChangeListener
Mechanism for 3rd parties to receive notification when a browser page instance changes
Type Params | Return Type | Name and description |
---|---|---|
|
abstract void |
pageWillChange(Browser browser, Page oldPage, Page newPage) Called first when the listener is registered, with oldPage as null
and newPage as the current page at time of registration, then each time
the browser's page instance changes. |
Called first when the listener is registered, with oldPage
as null
and newPage
as the current page at time of registration, then 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 6.0 - Licensed under the Apache License, Version 2.0 - http://www.gebish.org