Hover over an element and hold
qa_hoverHolds the pointer on an element to reveal hover-only UI such as menus, tooltips and hidden row actions, then reports what appeared, waits for delayed tooltips, and can remove the pointer to confirm they disappear.
Instructions
Put the pointer on an element AND LEAVE IT THERE, then report what that revealed: a menu that opens on hover, a tooltip, the actions a row only shows under the pointer, the value a chart reads out beneath it. qa_click cannot answer any of those — it presses a millisecond after it hovers, and the press closes what the hover opened. It holds for holdMs (500 by default) before measuring, because tooltips wait — measuring at once reports "no tooltip" about one that was always going to appear. The reply carries the usual changed diff plus tooltip (role=tooltip, aria-describedby or title, whichever exists) and expanded when the control changed its aria-expanded. ONE FACT TO READ CAREFULLY: cssHover says whether the browser's own :hover matched. Dispatched events run the page's JavaScript handlers — every menu and tooltip library — but they do not move the real cursor, so an effect written PURELY in CSS does not appear and cssHover comes back false. That is the tool being honest, not the page being broken. With trusted input switched on the real pointer moves, cssHover is true, and CSS-only hovers light up too. Call it again with off: true to take the pointer away — "the tooltip disappears" is the other half of the check, and it needs its own call. 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_hover"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Without ref/selector: CSS pixels from the LEFT of the viewport. WITH one: an offset inside the element, for a chart or a split control where the middle is the wrong place. | |
| y | No | Without ref/selector: CSS pixels from the TOP of the viewport. WITH one: an offset inside the element. | |
| off | No | Take the pointer AWAY from whatever it is on, and report what was left. No target needed. | |
| ref | No | A ref from qa_snapshot (e.g. "e12") — preferred over selector | |
| tabId | No | Target tab (from qa_tabs); omit for the active tab | |
| holdMs | No | How long to hold the pointer there before measuring (0–10000, default 500) | |
| selector | No | CSS selector of the element to hover |