I've been meaning to run a web traffic collection with a persistent browserContext for a while, working under the assumption that we miss out on a fair bit of tracker behaviour and data transmissions if the profiles they can collect are limited to one minute on a single site.
I haven't implemented this yet due to the way Playwright handles HAR recording. So far, you could only create a HAR by starting and stopping a browserContext (https://playwright.dev/docs/next/api/class-browser#browser-new-context). This way, it's not possible to reliably determine the initiatorUrl.
I've been meaning to run a web traffic collection with a persistent
browserContextfor a while, working under the assumption that we miss out on a fair bit of tracker behaviour and data transmissions if the profiles they can collect are limited to one minute on a single site.I haven't implemented this yet due to the way Playwright handles HAR recording. So far, you could only create a HAR by starting and stopping a
browserContext(https://playwright.dev/docs/next/api/class-browser#browser-new-context). This way, it's not possible to reliably determine theinitiatorUrl.