Hover element
hover_elementMove the mouse over a page element to open dropdown menus or reveal tooltips during browser QA tests. Target elements with CSS, text, role, or aria-ref selectors.
Instructions
Move the mouse over an element, e.g. to open a dropdown menu or reveal a tooltip.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "hover_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame | No | CSS selector of the iframe containing the element (e.g. "iframe[name^=__privateStripeFrame]"), or a list for nested iframes, outermost first. Not needed with aria-ref selectors. | |
| timeout | No | Timeout in milliseconds | |
| selector | Yes | Selector: "aria-ref=e5" from get_page_snapshot (preferred; also reaches into iframes), CSS ("#email", "button.submit"), text ("text=Sign in"), role ("role=button[name=/save/i]") or XPath ("xpath=//a") |