vicious-gold
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
Saurav Jain
Saurav Jain•2y ago
Our team will reply here soon. Expect a little delay due to few holidays. 🙂
vicious-gold
vicious-goldOP•2y ago
Thank you
ondro_k
ondro_k•2y ago
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.

Did you find this page helpful?