ie_wait_ready
Wait for legacy IE page to finish loading by ensuring all frames are complete and DOM stops changing. Returns loaded status, frame/text/element counts, and a content sample.
Instructions
Wait until the page finishes loading: every same-origin frame's document.readyState is 'complete' AND the DOM stops changing for a few polls (content settled). Handles slow async/frameset content. Use THIS to know content is ready, then search the data separately. Do NOT wait for a specific value to detect load — if it's absent you can't tell 'still loading' from 'not present'. Returns loaded=true/false with frame count, text length, element count and a content sample.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settle | No | require DOM to stop changing (default true); set false to only require readyState complete | |
| timeout | No | max seconds (default 60) | |
| interval | No | poll seconds (default 2) | |
| min_chars | No | minimum visible text length to count as loaded (default 1) | |
| stable_rounds | No | consecutive unchanged polls to call it settled (default 2) |