Usage with Remix and Playwright #1668
Answered
by
kettanaito
kirillkurko
asked this question in
Q&A
|
I'm looking for a good example of using MSW with Remix and Playwright. There are some examples on the internet like this one, but what I'm looking for is the usage of |
Answered by
kettanaito
Jul 26, 2023
Replies: 2 comments 9 replies
|
Hey, @kirillkurko. Take a look at our Official Remix + Playwright + MSW usage example. Using the runtime handlers ( |
6 replies
Answer selected by
kettanaito
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hey, @kirillkurko. Take a look at our Official Remix + Playwright + MSW usage example.
Using the runtime handlers (
worker.use()) is a matter of exposingworkeronwindowand accessing it inpage.evaluate()in your Playwright tests.