mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
927d0f443b
This patch teaches `page.setContent` to await resources in the new document. **NOTE**: This patch changes behavior: currently, `page.setContent` awaits the `"domcontentloaded"` event; with this patch, we can now await other lifecycle events, and switched default to the `"load"` event. The change is justified since current behavior made `page.setContent` unusable for its main designated usecases, pushing our client to use [dataURL workaround](https://github.com/GoogleChrome/puppeteer/issues/728#issuecomment-334301491). Fixes #728 |
||
---|---|---|
.. | ||
browser | ||
doclint | ||
node6-transform | ||
protocol-types-generator | ||
testrunner | ||
testserver | ||
apply_next_version.js | ||
bisect.js | ||
check_availability.js | ||
ESTreeWalker.js | ||
fetch_devices.js | ||
prepare_puppeteer_core.js |