diff --git a/lib/Page.js b/lib/Page.js index 3f7f048afbd..cbc15b0c872 100644 --- a/lib/Page.js +++ b/lib/Page.js @@ -43,10 +43,11 @@ class Page extends EventEmitter { const page = new Page(client, frameTree, ignoreHTTPSErrors, screenshotTaskQueue); await Promise.all([ + client.send('Page.setLifecycleEventsEnabled', { enabled: true }), client.send('Network.enable', {}), client.send('Runtime.enable', {}), client.send('Security.enable', {}), - client.send('Performance.enable', {}) + client.send('Performance.enable', {}), ]); if (ignoreHTTPSErrors) await client.send('Security.setOverrideCertificateErrors', {override: true}); diff --git a/package.json b/package.json index 97dba61b844..7ff20f5da21 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "ws": "^3.0.0" }, "puppeteer": { - "chromium_revision": "511134" + "chromium_revision": "513435" }, "devDependencies": { "@types/debug": "0.0.30",