clear_field
Clears text from an input field using a CSS selector, XPath, or other locator strategy. Specify the selector and optional timeout to remove existing content before interacting.
Instructions
Clear the text in an input field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | Locator strategy | css |
| timeout | No | Wait timeout in seconds | |
| selector | Yes | CSS selector, XPath, or other locator value |