From e1c40bd776207d05b394eb7f7ca86de6be73f369 Mon Sep 17 00:00:00 2001 From: Yogesh Singh Date: Thu, 31 May 2018 02:47:41 +0530 Subject: [PATCH] chore(examples): Change networkidle2 to networkidle0 (#2618) Switch example to networkidle0 to reduce inconsistency of console messages Fixes #2587 --- examples/custom-event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/custom-event.js b/examples/custom-event.js index d7286387569..351b21ff10c 100644 --- a/examples/custom-event.js +++ b/examples/custom-event.js @@ -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(); })();