com.gargoylesoftware.htmlunit
Interface ConfirmHandler
public interface ConfirmHandler
A handler for javascript window.confirm(). Confirms are triggered when the javascript
method Window.confirm() is called.
- Version:
- $Revision: 1.3 $
- Author:
- Mike Bowler
Method Summary |
boolean |
handleConfirm(Page page,
java.lang.String message)
Handle an alert for the given page. |
handleConfirm
boolean handleConfirm(Page page,
java.lang.String message)
- Handle an alert for the given page.
- Parameters:
page
- The page on which the alert occurred.message
- The message in the alert.
- Returns:
- true if we are simulating the ok button. False for the cancel button.
Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.