| com.gargoylesoftware.htmlunit.ConfirmHandler
ConfirmHandler | public interface ConfirmHandler (Code) | | A handler for javascript window.confirm(). Confirms are triggered when the javascript
method Window.confirm() is called.
version: $Revision: 2132 $ author: Mike Bowler |
Method Summary | |
boolean | handleConfirm(Page page, String message) Handle an alert for the given page.
Parameters: page - The page on which the alert occurred. Parameters: message - The message in the alert. |
handleConfirm | boolean handleConfirm(Page page, String message)(Code) | | Handle an alert for the given page.
Parameters: page - The page on which the alert occurred. Parameters: message - The message in the alert. true if we are simulating the ok button. False for the cancel button. |
|
|