vicious-gold•2y ago
Intercepting requests
Hi, i'm currently trying to intercept redirects after a button click (react navigate) and collect the target url.
I already tried to use the page.on / page.route to block the specific request but it will still redirect to the page.
Maybe somebody have an idea.
Thank you
3 Replies
Our team will reply here soon. Expect a little delay due to few holidays. 🙂
vicious-goldOP•2y ago
Thank you
Hi,
could you share the code snippet where you're intercepting the request?
Do you know whether the
handler
in page.route
gets called? Maybe the URL glob you specified doesn't match the redirect request.