| com.gargoylesoftware.htmlunit.OnbeforeunloadHandler
OnbeforeunloadHandler | public interface OnbeforeunloadHandler (Code) | | A handler for onbeforeunload event.
version: $Revision: 2132 $ author: Ahmed Ashour |
Method Summary | |
boolean | handleEvent(Page page, String message) Handle an onbeforeunload event for the given page.
Parameters: page - The page on which the event occurred. Parameters: message - The message in the event. |
handleEvent | boolean handleEvent(Page page, String message)(Code) | | Handle an onbeforeunload event for the given page.
Parameters: page - The page on which the event occurred. Parameters: message - The message in the event. true if we are simulating the ok button. False for the cancel button. |
|
|