in module/geb-core/src/main/groovy/geb/Browser.groovy [1208:1228]
private <T extends Page> T doAt(T page) {
initialisePage(page)
pageEventListener.beforeAtCheck(this, page)
def atResult
try {
atResult = page.verifyAt()
} catch (AssertionError e) {
pageEventListener.onAtCheckFailure(this, page)
throw e
}
if (atResult) {
makeCurrentPage(page)
pageEventListener.onAtCheckSuccess(this, page)
page
} else {
pageEventListener.onAtCheckFailure(this, page)
null
}
}