scraping_browser_wait_for_ref
Waits for a page element to become visible using its ARIA snapshot ref, so you can synchronize scraping after locating the element with a snapshot instead of CSS selectors.
Instructions
Wait for an element to be visible using its ref from the ARIA snapshot. Use scraping_browser_snapshot first to get the correct ref values. This is more reliable than CSS selectors.
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": {
"ref": "<ref>",
"element": "<element>"
},
"name": "scraping_browser_wait_for_ref"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | The ref attribute from the ARIA snapshot (e.g., "23") | |
| element | Yes | Description of the element being waited for | |
| timeout | No | Maximum time to wait in milliseconds (default: 30000) |