| com.gargoylesoftware.htmlunit.PromptHandler
PromptHandler | public interface PromptHandler (Code) | | A handler for javascript window.prompt(). Confirms are triggered when the javascript
method Window.prompt() is called.
version: $Revision: 2132 $ author: Mike Bowler |
Method Summary | |
String | handlePrompt(Page page, String message) Handle a call to Window.prompt() for the given page.
Parameters: page - The page on which the prompt occurred. Parameters: message - The message in the prompt. |
handlePrompt | String handlePrompt(Page page, String message)(Code) | | Handle a call to Window.prompt() for the given page.
Parameters: page - The page on which the prompt occurred. Parameters: message - The message in the prompt. The value typed in or null if the user pressed cancel. |
|
|