Fill input fields
I.fill
Short form of
I.fillField
command
Fill a textual field.
This works for date picker fields that accept direct text input.
Usage
I.fill(field, value)
Parameters
Parameter | Type | Remarks |
---|---|---|
field | string | Keyword to identify the field. |
value | string | Value to fill into the field |
Example(s)
Fill a field
I.fill("Email", "[email protected]");
This command fills "[email protected]" into the "Email" field.
Clear a field
// fill with empty value
I.fill("Email", "");
// or
I.clear("Email");
This command clears the "Email" field.