Set a field to a value — any kind of field
qa_typeFills one form control—text, select, checkbox, date picker, slider, or rich text—by snapshot ref or CSS selector and reports whether the value stuck.
Instructions
Put a value into ONE control, whatever kind it is — target it by a qa_snapshot ref (preferred) or a CSS selector. This is not a keystroke emulator, it is the extension's own fill engine, the same one behind the ⚡Fill button, so "typing" works on far more than text boxes: text/number/date inputs and textareas (native value setter + InputEvent, so React/Vue controlled inputs keep the value), native (your text is matched against the option labels), checkboxes and radios (a truthy value checks it, with a real click so the app's listeners run), CUSTOM SELECTS and typeahead comboboxes (Radix/shadcn, MUI, Ant, react-select, Downshift — it opens the popover, waits for the options, picks the one matching your value and verifies the trigger actually changed), POPUP DATE & TIME PICKERS (opens the calendar and picks a day), sliders, and contenteditable rich text. A file field takes the neutral Qiksy test file matched to its accept — use qa_upload when the bytes matter. So do NOT click a dropdown open, snapshot to read its options and click one: name the field and the value you want. Only fall back to the click path when this answers ok:false. Reports back whether the value stuck, so a masked or read-only field is visible to you rather than silently ignored. WHAT stuck: true DOES NOT PROMISE: it says the DOM kept the value, not that the app took it. When the tab is not in front the reply therefore also carries tab — state: "hidden" (another tab is active, so Chrome is not painting it and a popover will not render) or state: "unfocused" (the window is behind another application, so anything that commits on real focus or blur never gets it). It is a caveat and not a refusal: the fill still happened. If the answer matters, call qa_focus_tab and do it again. Requires the one-time “Agent control” confirmation in the panel; without it the extension answers consent-required and does nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "qa_type"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | WRITE THE TEXT VERBATIM and pick nothing — the fast route through a composite widget. Every date, time, range, tags field and searchable select in Ant Design, MUI and react-datepicker has its own text input and takes the value in the format it DISPLAYS ("06/11/2024", "14:30", the option text); typing it costs under half a second where driving the popup costs 7 to 35 seconds (measured on a live stand). Use it when you already know the value. Leave it off when the widget itself is what you are testing: the default path opens the popover the way a user would, and converts a date-ish value to ISO, which is right for <input type=date> and wrong for a component whose format is DD/MM/YYYY. | |
| ref | No | A ref from qa_snapshot (e.g. "e12") — preferred over selector; unique where a selector is ambiguous | |
| blur | No | With `raw`: move focus away afterwards. Some controls keep a typed value only once focus LEAVES — a tags field is the usual one. | |
| name | No | The field's accessible name — resolved against a snapshot taken right now, so it survives the re-render that invalidates a ref. Use it for a field you are re-filling after something else changed. | |
| open | No | With `raw`: click the control first. A select filters only while its list is open, so typing into a closed one leaves it empty while looking filled. | |
| pick | No | With `raw`: after writing the text, CLICK the option whose text matches it — the other half of the fast route for a select, because the text only filters and something still has to choose the row. | |
| text | No | Same as `value`, under the name a model reaches for when the job is "type this text". | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| value | No | The value you want: text, an option label for a select or combobox, a truthy/falsy word for a checkbox, a number for a slider | |
| commit | No | With `raw`: the key that commits the value, default "Enter". Pass an empty string for none. | |
| pickMs | No | With `pick`: how long to wait for that option, default 1200. It returns the moment the option appears. | |
| frameId | No | Which frame to ask, from qa_frames. Omit for the page itself. A payment form, an SSO step or an embedded widget usually lives in a frame of its own, and a cross-origin one can only be read from inside it. | |
| selector | No | CSS selector of the field | |
| settleMs | No | With `raw`: the cap on waiting for an option before the commit key. A select fed by a request needs ~900; a date parses its own text and needs none. |