I.fillAlert

Fill the text box on the alert.

Only applicable to prompt dialogs.

Usage

I.fillAlert(value)
Parameter Type Remarks
value string Text to fill into the prompt's text box

Example

I.seeAlert("What's your name?")
I.fillAlert("Jane") // fill in the prompt dialog with "Jane"
I.acceptAlert() // press "Ok"

This fills in the text box in the alert with "Jane", and presses the "Ok" button.