Fill form field
fillClear and type values into input, textarea, or select fields using CSS selectors. Dispatch input and change events for React controlled components. Fill multiple fields in one call.
Instructions
Set the value of an input/textarea/select by selector (Playwright locator.fill — clears then types, and dispatches the input/change events React controlled components need). Pass fields to fill several inputs in one call. Use type instead only for inputs that require per-keystroke keydown events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | Value to set for `selector` | |
| fields | No | Fill multiple fields in order, e.g. [{selector, value}, ...] | |
| selector | No | CSS selector or Playwright locator of a single field to fill |