playwright/packages/playwright-core
Dmitry Gozman fea8772d95
fix: emit load/domcontentloaded events as reported by the browser (#16861)
Instead of requiring all frames in the subtree to receive a particular
event, we rely on the browser's definition of load and DOMContentLoaded.

This changes logic in a few edge cases:
- Some browsers do not emit load event upon window.stop() at all.
- DOMContentLoaded does not wait for subframes, so they might not be
  ready when passing `{ waitUntil: 'domcontentloaded' }`.

`networkidle` preserves the old logic.
2022-08-26 13:48:05 -07:00
..
2022-08-26 12:57:18 -07:00
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2022-08-15 18:10:04 +02:00
2022-08-09 17:09:58 -07:00

playwright-core

This package contains the no-browser flavor of Playwright.