clear_element
Clears text from input or textarea elements using CSS, XPath, id, name, or other selectors. Resets form fields by identifying the element and removing its current value.
Instructions
Clear text from an input or textarea element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Selector or value to identify the element | |
| 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) |