- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A handler for the JavaScript function
window.confirm(). Confirms
are triggered when the JavaScript function window.confirm() is invoked.- Author:
- Mike Bowler, Ronald Brill
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhandleConfirm(Page page, String message) Handles a confirm for the specified page.
-
Method Details
-
handleConfirm
Handles a confirm for the specified page.- Parameters:
page- the page on which the confirm occurredmessage- the message in the confirm- Returns:
trueif we are simulating clicking the OK button,falseif we are simulating clicking the Cancel button
-