cloak_wait
Wait for dynamic web content to fully load after triggering actions, ensuring page stability by monitoring DOM mutations and network activity before proceeding.
Instructions
Wait for the page to settle (no DOM mutations + network idle).
Use after actions that trigger dynamic content loading. Returns whether the page settled and how many DOM mutations occurred.
Args: page_id: Target page ID. timeout_ms: Max wait time in milliseconds (default: 5000).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||