Today, I'm excited to announce msw/playwright!
This is a designated integration package for MSW to provide a better developer experience when mocking APIs in Playwright. Check it out.
https://github.com/mswjs/playwright
This is a designated integration package for MSW to provide a better developer experience when mocking APIs in Playwright. Check it out.
https://github.com/mswjs/playwright
Comments
I will have a look, the biggest challenges we face is random sw death and persistence of state within sw. So looking forward to explore this solution.
msw/playwright is just a binding to run the same handlers using PW's page.route() mechanism.
https://github.com/sponsors/mswjs
Thank you.