session_fill
Fill a form field in one step, including rich-text editors, using a CSS selector or snapshot ref. Writes via native setter and fires input/change events that React and Vue listen for.
Instructions
Set a form field's value in one step — input, textarea, or a rich-text editor such as ProseMirror, Lexical or Slate. Writes through the native value setter and then fires input and change, which is what React and Vue listen for. Returns {filled} naming the field. Use session_type instead when a field only reacts to real keystrokes, and session_select for a dropdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | A ref from session_snapshot, such as @e12, used instead of selector | |
| tabId | No | Tab to act on; uses the active tab when omitted | |
| value | Yes | Text to place in the field, replacing whatever is there | |
| selector | Yes | CSS selector for the field to fill |