F.prompt()

  • function
FuncUnit.prompt  

prompt(answer)

When a browser's native prompt dialog is used, this method is used to repress the dialog and simulate clicking typing something into the dialog.

F.prompt("Harry Potter");

Parameters

  1. answer {String}

    Whatever you want to simulate a user typing in the prompt box

Returns

{undefined}