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: 1.3 $
Author:
Mike Bowler

Method Summary
 void handleAlert(Page page, java.lang.String message)
 Handle an alert for the given page.
 

Method Detail

handleAlert

void handleAlert(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.


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.