Skip to main content
Click an element by ref. Chromium and Firefox developer sessions use native mouse input; the Firefox extension simulates ordinary left clicks. Hover (hover:true), drag (dragTo), modified and multiple clicks are unavailable in the Firefox extension.
The tool names stay the same across browsers. See browser selection and Firefox and Zen exceptions before choosing an operation.

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