Skip to content

Usage with Remix and Playwright #1668

Answered by kettanaito
kirillkurko asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, @kirillkurko. Take a look at our Official Remix + Playwright + MSW usage example.

Using the runtime handlers (worker.use()) is a matter of exposing worker on window and accessing it in page.evaluate() in your Playwright tests.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@kettanaito
Comment options

@kettanaito
Comment options

@kirillkurko
Comment options

@pauloricardos
Comment options

@kettanaito
Comment options

Answer selected by kettanaito
Comment options

You must be logged in to vote
2 replies
@jumpcutfindo
Comment options

@dadamssg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants