fill_element
Type text into input or textarea elements using CSS, XPath, ID, or other selectors. Clear existing content, wait for visibility, and press Enter after typing as needed.
Instructions
Type text into an input or textarea element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type into the element | |
| selector | Yes | Selector or value to identify the input/textarea | |
| strategy | No | Strategy to find element (css, xpath, id, name, tag, class, text, partialText). Default: css | css |
| timeoutMs | No | Wait timeout in milliseconds (default: 10000) | |
| pressEnter | No | Whether to press Enter after typing (default: false) | |
| clearBefore | No | Whether to clear existing text before typing (default: true) |