sleeper_wait_until
Pause browser automation until a page condition (selector, text, or attribute state) is met, ensuring elements load before proceeding. Chromium-only JavaScript predicates supported.
Instructions
Wait for a structured page condition; JavaScript predicates are Chromium-only
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sleeper_wait_until"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | ||
| profile | No | Browser ID from sleeper_sessions; optional with one connected browser. | |
| timeout | No | ||
| interval | No | ||
| condition | No | Structured condition with selector or text, plus optional state, count, attribute, value, operator, and exact fields | |
| predicate | No | Chromium-only JavaScript predicate |