F.confirm()
FuncUnit.confirm
confirm(answer)
When a browser's native confirm dialog is used, this method is used to repress the dialog and simulate clicking OK or Cancel. Alerts are repressed by default in FuncUnit application windows.
F.confirm(true);
Parameters
-
answer
{Boolean}
true if you want to click OK, false otherwise