abhinaba-ghosh / playwright-lighthouse

:performing_arts:: Playwright Lighthouse Audit
https://www.npmjs.com/package/playwright-lighthouse
MIT License
240 stars 28 forks source link

Anyway to use flow = await lighthouse.startFlow(page) for a playwright page? #38

Closed xbhoneybee closed 1 year ago

xbhoneybee commented 1 year ago

I use playwright to do E2E test, but I also want to use lighthouse flow to get a report of flow. Do you have any idea for that?

BTW how do you use playwright to do a performance test?

toukolonka commented 1 year ago

Did you manage to get this work?

xbhoneybee commented 1 year ago

Did you manage to get this work?

@toukolonka No, I think it is impossible for the playwright page object compatible with lighthouse puppeteer page object.

BTW I get another solution for playwright performance test. Datadog has support playwright in the CI Test now.