Skip to main content
Click an element by ref with real mouse events. Also hover (hover:true) and drag (dragTo).

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
string
required
Element ref from browser_snapshot, e.g. “e12”
enum
One of: left, right, middle.
integer
2 for double-click Range: 1 to 3.
enum[]
Items: Shift, Control, Alt, Meta.
boolean
Only move the mouse over the element
string
Drag from ref to this ref

Example

Hover
Drag one element onto another