com.gargoylesoftware.htmlunit
Interface AlertHandler
- All Known Implementing Classes:
- CollectingAlertHandler
public interface AlertHandler
A handler for javascript alerts. Alerts are triggered when the javascript method Window.alert()
is called.
- Version:
- $Revision: 2132 $
- Author:
- Mike Bowler
handleAlert
void handleAlert(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.
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.