Hello, I am have an application that does multiple graphql calls. I am trying to intercept 2 specific post calls but at any given time I am only able to intercept 1 call. Is there documentation on how to intercept multiple calls? I tried defining multiple await request.route but it did not work as expected.
This thread is trying to answer question "How can I intercept multiple post calls in my application?"
page.route will intercept and handle all requests matching your pattern until you close the page or use page.unroute, no need to call it twice (unless you want to use route.fallback).
Could you elaborate on that? I have a similar issue (https://discord.com/channels/807756831384403968/1157391025401253948) and maybe you can help me to understand it better
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].