abhinaba-ghosh / playwright-lighthouse

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

Use storagestate for authentification? #49

Open LisBerndt opened 1 year ago

LisBerndt commented 1 year ago

Hello! Is it possible to simply use the storagestate and reuse my token-data of my user.json as described here? In case of "yes" I would be glad about how to this :)

digracesion commented 1 year ago

I don't think this is specifically related to playwright-lighthouse, but playwright itself. But to answer your specific question, I found this video demo to be really helpful in visualizing how to use storage state