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: 2132 $
- Author:
- Mike Bowler
handleConfirm
boolean handleConfirm(Page page,
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 © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.