fill_form
Fill multiple form fields in one call by mapping CSS selectors to values, supporting inputs, checkboxes, radio buttons, and selects, plus optional submit click.
Instructions
Fill multiple form fields in a single call. Pass a map of CSS selector → value. Automatically handles text inputs, textareas, checkboxes (true/false), radio buttons, and dropdowns. Optionally clicks a submit button at the end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | css | |
| fields | Yes | Map of selector → value. Checkboxes: 'true'/'false'. Selects: visible text or value. | |
| submit | No | Selector of submit button to click after filling (optional) | |
| timeout | No |