SessionKit DOCS
Get Started
API Reference Click
POST/v1/sessions/{session_id}/pages/click

Click

Click an element on the page using a CSS selector.

The active session ID.

CSS selector of the element to click.

Mouse button. One of: left, right, middle.

Number of clicks (use 2 for double-click).

Delay between mousedown and mouseup in ms.

Response

{
  "success": true,
  "selector": "#submit-btn",
  "coordinates": { "x": 450, "y": 320 }
}
⌘I
AI Assistant

Ask me anything about the documentation.

ESC