---
title: "Click an element"
method: POST
path: "/tabs/{tabId}/click"
tags: ["Interaction"]
---

# Click an element

`POST /tabs/{tabId}/click`

Click by element ref, CSS selector, or coordinates.

## Path parameters

- `tabId` string, required

## Request body

- object
  - `userId` string, required
  - `ref` string — Element ref ID (e.g. "e3").
  - `selector` string — CSS selector fallback.
  - `doubleClick` boolean
  - `coordinates` object
    - `x` number
    - `y` number

## Response `200`

Click result with optional post-action snapshot.

- object

## Other responses

- `400` — Bad request.
- `404` — Tab not found.
- `409` — Page changed during the click; caller should take a fresh snapshot and retry with current refs.

## Changes

- **2026-07-17** `b995d1c8bad1` — 1 info
  - removed the non-success response with the status `409`
- **2026-06-01** `6a300e1fadaf` — 1 info
  - added the non-success response with the status `409`

[Change history](https://skmtc.dev/jo-inc/apis/camofox-browser/changes/tabs/:tabId/click/post.md)

---

[API](https://skmtc.dev/jo-inc/apis/camofox-browser.md) · [All operations](https://skmtc.dev/jo-inc/apis/camofox-browser/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/jo-inc/camofox-browser/revisions/d007e73dad3d/schema)
