fill_and_submit
Fill a web form with valid test data and submit it through the real button, handling wizards and consent modals while capturing validation errors and results.
Instructions
Fill a form with valid test data (generated from its schema if data is omitted) and submit it via the real submit button (not form.submit()), handling multi-step wizards and consent modals along the way. Reports final URL, HTTP status, redirect chain, a success/failure guess, every visible validation error mapped to its field, console errors, failed network requests, and a full-page screenshot path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| data | No | Field values by name; missing fields are generated | |
| seed | No | Seed for any auto-generated field values | |
| dryRun | No | Fill and screenshot but do not click submit | |
| headed | No | Show the browser window (default: visible, unless formpilot.config.json sets "headless": true) | |
| formSelector | No | ||
| loginProfile | No |