Type text
typeEnter text into browser input, textarea, or contenteditable fields, clearing first by default; submit with Enter or use the focused element when no target is set.
Instructions
Type into an input, textarea or contenteditable element. Clears the field by default and uses trusted CDP keystrokes. Set pressEnter=true to submit. If no target is given, types into the focused element.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| text | Yes | ||
| clear | No | Clear the field before typing. Default true. | |
| delay | No | Delay per character in ms. | |
| tabId | No | ||
| focused | No | Type into the currently focused element. | |
| frameId | No | ||
| timeout | No | ||
| trusted | No | ||
| selector | No | ||
| waitUntil | No | domcontentloaded | |
| delayAfter | No | ||
| pressEnter | No |