Wait for something on the page
steel_wait_forWait for specified text, CSS selector, or URL substring to appear in an active browser session, with an optional timeout to give up.
Instructions
Wait for named text, a CSS selector or URL substring; pass at least one.
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. |