fill_form
Fill multiple form fields in a single call: map CSS selectors to values for inputs, textareas, checkboxes, radio buttons, and selects; optionally click submit.
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 |