• function

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.

S.confirm(true);

Parameters

  1. answer {Boolean}

    true if you want to click OK, false otherwise

Returns

{undefined}