This thread is trying to answer question "Is there any API for HAR recording that can be used with a custom runner?"
Hi, this should do the job: https://playwright.dev/docs/mock#recording-a-har-file
this only works when using @playwright/test https://playwright.dev/docs/mock#recording-a-har-file
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email firstname.lastname@example.org.