Sends keystrokes to a JavaScript prompt() dialog.

Parameters

Name Type description
value string

Keystrokes to send to the prompt() dialog

callback
Optional
function

Optional callback function to be called when the command finishes.

W3C WebDriver spec: