ghost_tab_wait_for
Wait until a CSS selector matches an element in a browser tab, then continue. Prevents race conditions by ensuring the expected page is ready before proceeding.
Instructions
Wait until a CSS selector matches an element in the tab.
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": {
"tab": "<tab>",
"selector": "<selector>"
},
"name": "ghost_tab_wait_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | Yes | ||
| browser | No | ||
| selector | Yes | ||
| timeout_ms | No |