Home / MCP Tools / Browse Wait For
Live MCP toolbrowser

Browse Wait For

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.

Pricing and limits: /pricing.

Parameters

ParameterTypeRequiredDescription
browser_idstringrequiredfrom browse_open
selectorstringrequiredCSS selector to wait for
timeout_msintegeroptionalmax wait (default 8000)

Call it over MCP (JSON-RPC 2.0)

curl -s https://agent.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"}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/browse_wait_for \
  -H 'Content-Type: application/json' \
  -d '{"browser_id": "example-id", "selector": "example"}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/browse_wait_for from your browser.

Related tools in Browser