fill
Fill a form field with text. By default clears existing value first.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | An element ref from this page's latest get_a11y_tree, such as e5, or f1e3 inside an iframe. | |
| frame | No | A CSS selector for an iframe, or a list of them for nested iframes. selector, label and ref then resolve inside it. | |
| label | No | Accessible label of the input. Alternative to selector. | |
| value | Yes | Text to fill | |
| page_id | No | The page to act on, from list_pages or pages_opened. Defaults to the current page. Does not change the current page. | |
| selector | No | CSS selector of the input element. Either selector, label or ref is required. | |
| session_id | Yes | Browser session ID | |
| clear_first | No | Clear the existing value before typing. Default: true. |