in module/geb-core/src/main/groovy/geb/Browser.groovy [1152:1168]
private Page verifyPages(List<Page> pages) {
new PotentiallyWaitingExecutor(config.atCheckWaiting).execute {
Map pageVerificationResults = [:]
def match = pages.find {
AtVerificationResult atVerificationResult = it.getAtVerificationResult(false)
if (!atVerificationResult) {
pageVerificationResults.put(it, atVerificationResult)
}
atVerificationResult
}
if (match) {
makeCurrentPage(match)
} else {
throw new UnexpectedPageException(pageVerificationResults)
}
}
}