Type text
typeEnters text into input, textarea, or contenteditable elements. Replaces current content by default, appends with clear disabled, and can press Enter to submit.
Instructions
Types text into an element (input, textarea, contenteditable). By default replaces the current value; set clear:false to append. Targets support selectors or getBy* locators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to type into the element. | |
| clear | No | true (default) replaces the current value (fill). false appends keystroke-by-keystroke (pressSequentially). | |
| target | Yes | How to locate the element: {"selector": "#id"} or {"fn": {"name": "getByRole", "args": ["button", {"name": "Sign in"}]}}. | |
| sessionId | Yes | Session id returned by start_session. Required on every stateful tool call. | |
| timeoutMs | No | Action timeout in milliseconds (default 10000). | |
| pressEnter | No | Press Enter after typing (e.g. to submit). |