chore(examples): Change networkidle2 to networkidle0 (#2618)

Switch example to networkidle0 to reduce inconsistency of console messages 

Fixes #2587
This commit is contained in:
Yogesh Singh 2018-05-31 02:47:41 +05:30 committed by Andrey Lushnikov
parent 1bbd094624
commit e1c40bd776

View File

@ -42,7 +42,7 @@ const puppeteer = require('puppeteer');
await listenFor('app-ready'); // Listen for "app-ready" custom event on page load. 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(); await browser.close();
})(); })();