clear_field
Clear an input field's content using any locator strategy like CSS or XPath. Provide the selector and optional timeout to remove text for web automation.
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 |