Fill in the page's fields
Fills many fields of a form in one step, and can submit it.
Fill in the page's fields
Details #
fields maps a selector (or a field's id or name) to a value: text for inputs and text areas, true or false for a checkbox, a radio's value, a select's value or label. Each field gets input and change events the way typing would. submit: true submits the form of the first field; a selector clicks that button.
Parameters #
| Parameter | Type | Required | Values | What it does |
|---|---|---|---|---|
fields | record | Yes | {selector: value}. Required. | |
browser | one of | safari chrome front | ||
submit | any value | true, or a selector to click. | ||
tab | any value | |||
timeout | number | , tab, via. | ||
via | one of | auto extension appleScript |
Every step also accepts label, onFailure, timeout and dryRunSafe.
Examples #
Fill in a sign-in form
Do
- Fill in 2 fields on the page and submit
Gotchas #
Passwords belong in the Keychain step, then
{{password}}.