# Uses of Interface
org.htmlunit.ConfirmHandler

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

- ## Uses of ConfirmHandler in org.htmlunit

  Methods in org.htmlunit that return ConfirmHandler
  Modifier and Type
  Method
  Description
  `ConfirmHandler`
  WebClient.`getConfirmHandler()`
  Returns the confirm handler.
  Methods in org.htmlunit with parameters of type ConfirmHandler
  Modifier and Type
  Method
  Description
  `void`
  WebClient.`setConfirmHandler(ConfirmHandler handler)`
  Sets the handler that will be executed when the JavaScript method Window.confirm() is called.