# Uses of Interface
org.htmlunit.PromptHandler

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

- ## Uses of PromptHandler in org.htmlunit

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