Hover
hoverMove a pointer over a selected page element after scrolling it into view to trigger pointer and mouse events, opening menus or tooltips and reporting if another element covers the target.
Instructions
Move a pointer onto an element: pointerover, pointerenter, mouseover, mouseenter, pointermove and mousemove at its center, after scrolling it into view. Opens menus and tooltips that listen for those events. CSS :hover styling is browser state a script cannot set, so a menu driven only by :hover will not open. Like click, it reports coveredBy when another element sits on top of the target at its center.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nth | No | Which match to hover, 0-based | |
| exact | No | For "text=" selectors, require the whole trimmed text to equal the label instead of containing it. No effect on CSS selectors. | |
| tab_id | No | Arc tab id from list_tabs. Omit to use this agent's current tab. A tool that changes a tab will not fall back to the tab the user is looking at, so pass this or call open_url first. | |
| verbose | No | Include the bulky element rect and longer attribute values | |
| selector | Yes | CSS selector, or one of: "text=Some label" (visible text, case-insensitive substring, exact matches ranked first); "ref=e12" (a ref from snapshot, re-resolved if the page re-rendered); "role=button[name="Save"]" (ARIA or implicit role, name an exact match, or name~="sav" for a substring); "label=Email" (the control a label names); "placeholder=Search" |