You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @amezioud at the moment we don't add them from the trace, in Browsertime we add it later after the HARs been generated, so I guess you could do the same, run some JS in puppeteer and get the data from the browser and add it to the HAR.
Hello,
I'm using [email protected] [email protected] and [email protected]
const puppeteer = require('puppeteer');
const PuppeteerHar = require('puppeteer-har');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
console.log("create page");
const har = new PuppeteerHar(page);
await har.start({ path: 'results.har' });
console.log('Har started');
await page.goto('https://********/portail');
await har.stop();
await browser.close();
})();
How can I stop having empty "pageTimings" please ?
{"log":{"version":"1.2","creator":{"name":"chrome-har","version":"0.11.7","comment":"https://github.com/sitespeedio/chrome-har"},"pages":[{"id":"page_1","startedDateTime":"2020-04-29T14:00:06.681Z","title":"https://********/portail","**pageTimings":{}**}],"entries":[{"cache":{},"startedDateTime":"2020-04-29T14:00:06.682Z","_requestId":"5380B4DD08F8636FEB1F2EC3A5914CE6","_initialPriority":"VeryHigh","_priority":"VeryHigh","pageref":"page_1","request":{"method":"GET","url":
The text was updated successfully, but these errors were encountered: