Wait for something on the page
steel_wait_forWaits until specified text, CSS selector, or URL appears in the live browser session, ensuring all conditions match before proceeding.
Instructions
Wait for text, a CSS selector or URL; all supplied conditions must match.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>"
},
"name": "steel_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Wait for the URL to contain this string. | |
| text | No | Wait for this text to appear on the page. | |
| selector | No | Wait for an element matching this CSS selector. | |
| session_id | Yes | Live session_id from steel_session_create. | |
| timeout_ms | No | Give up after this long. |