* The JavaScript function "confirm()".
* @param message the message
* @return true if ok was pressed, false if cancel was pressed
*/
public boolean jsxFunction_confirm(final String message) {
final ConfirmHandler handler = getWebWindow().getWebClient().getConfirmHandler();
if (handler == null) {
LOG.warn("window.confirm(\""
+ message + "\") no confirm handler installed, simulating the OK button");
return true;
}
return handler.handleConfirm(document_.getHtmlPage(), message);
}