type
Enters text into a single input, textarea, or contenteditable element by reference in BeatBrowser; optionally presses Enter to submit.
Instructions
Type text into ONE input/textarea/contenteditable by ref. Set submit:true to press Enter after. More fields coming? Use fill or act.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from the latest snapshot, e.g. "e3" | |
| find | No | Locate by role+name from the snapshot instead of by ref. Survives re-renders. | |
| real | No | Request a browser-level event explicitly. An uncertain or no-effect action is never automatically replayed. | |
| text | Yes | ||
| clear | No | Clear existing value first. Default true. | |
| tabId | No | Target tab id. Omit to use the active controlled tab. | |
| expect | No | Expected result, checked within the settle window and reported if unmet: {checked, value, text: target contains, gone: target removed, appears: selector/text now on page} | |
| submit | No | Press Enter after typing. | |
| spaceId | No | Pin this command to an owned BeatBrowser TaskSpace. Also pass its tabId. | |
| selector | No | CSS fallback for elements the snapshot cannot see. Skips ref safety checks. | |
| snapshotId | No | snapshotId the ref came from |