mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(examples): Change networkidle2 to networkidle0 (#2618)
Switch example to networkidle0 to reduce inconsistency of console messages Fixes #2587
This commit is contained in:
parent
1bbd094624
commit
e1c40bd776
@ -42,7 +42,7 @@ const puppeteer = require('puppeteer');
|
||||
|
||||
await listenFor('app-ready'); // Listen for "app-ready" custom event on page load.
|
||||
|
||||
await page.goto('https://www.chromestatus.com/features', {waitUntil: 'networkidle2'});
|
||||
await page.goto('https://www.chromestatus.com/features', {waitUntil: 'networkidle0'});
|
||||
|
||||
await browser.close();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user