Wait for a CSS selector to appear on the current page (for async/SPA pages after a click or navigate, before you snapshot/act).
Wait for a CSS selector to appear on the current page (for async/SPA pages after a click or navigate, before you snapshot/act). Returns ok once present, else an honest timeout.
Metered access — free-key quota or x402 pay-per-call (USDC on Base). Details at /pricing.
| Parameter | Type | Required | Description |
|---|---|---|---|
browser_id | string | required | from browse_open |
selector | string | required | CSS selector to wait for |
timeout_ms | integer | optional | max wait (default 8000) |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "browse_wait_for", "arguments": {"browser_id": "example-id", "selector": "example"}}}'curl -s https://wingmanprotocol.com/tools/browse_wait_for \
-H 'Content-Type: application/json' \
-d '{"browser_id": "example-id", "selector": "example"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/browse_wait_for from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).