# Uses of Interface
org.htmlunit.AlertHandler

Packages that use AlertHandler
Package
Description
org.htmlunit
Framework classes (contains the `WebClient` class which is the main entry point).

- ## Uses of AlertHandler in org.htmlunit

  Classes in org.htmlunit that implement AlertHandler
  Modifier and Type
  Class
  Description
  `class`
  `CollectingAlertHandler`
  A simple alert handler that keeps track of alerts in a list.
  Methods in org.htmlunit that return AlertHandler
  Modifier and Type
  Method
  Description
  `AlertHandler`
  WebClient.`getAlertHandler()`
  Returns the alert handler for this webclient.
  Methods in org.htmlunit with parameters of type AlertHandler
  Modifier and Type
  Method
  Description
  `void`
  WebClient.`setAlertHandler(AlertHandler alertHandler)`
  Sets the alert handler for this webclient.