---
title: "Wait for a selector or timeout"
method: POST
path: "/tabs/{tabId}/wait"
tags: ["Interaction"]
---

# Wait for a selector or timeout

`POST /tabs/{tabId}/wait`

## Path parameters

- `tabId` string, required

## Request body

- object
  - `userId` string, required
  - `selector` string
  - `timeout` integer — Max wait in ms.

## Response `200`

Wait completed.

- object
  - `ok` boolean

## Other responses

- `404` — Tab not found.

---

[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)
