Files
browser/src/browser/tests/runner/iframe_idle.html
Pierre Tachoire 656e2ee495 frame: emit networkIdle lifecycle events for child frames
Puppeteer's networkidle0 requires the networkIdle/networkAlmostIdle
lifecycle events on every frame that started loading, like Chrome
emits them — not just the root frame. Run the idle-notification
checks recursively over the frame tree in Runner._tick.

Fixes goto({waitUntil: 'networkidle0'}) timing out on pages with
iframes (e.g. reddit.com post pages).
2026-07-02 17:06:12 +02:00

5 lines
112 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<iframe src="about:blank"></iframe>
<iframe src="runner1.html"></iframe>