v33

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-2972102177.5 KB
OS Level Control

Mouse Click

Performs a mouse click at the specified coordinates

post/v1/sessions/{sessionId}/mouse/click

Path parameters

sessionIdstring uuid required

The ID of the browser session

Request body

xnumber

X coordinate

ynumber

Y coordinate

button'left' | 'middle' | 'right'

Mouse button to use

selectorstring

A valid CSS selector for the requested element

timeoutnumber

If a selector was passed, timeout in ms for waiting for the DOM element to be selected. Defaults to 5000 (5 seconds).

indexnumber

If a selector was passed and multiple elements match the selector, the index of the element in the list (0-based). Defaults to 0.

Response

Click performed successfully

statusstring