It's an extremely weird issue which seems to be a bug in Chromium itself.
It happens especially for: {urlPattern: '*add_response.json', requestStage: 'Response'}.
But it's never a problem after I open the DevTools panel.
ChatGPT has some interesting suspicion about it:
Why This Happens:
Optimization by Chrome: Chrome is optimized to reduce overhead when DevTools are not opened. When DevTools is closed, some network information may not be available or collected in detail since Chrome does not run full network instrumentation unless needed (i.e., when DevTools is active).
DevTools Impact: When you open DevTools, the browser begins collecting and exposing detailed network data that otherwise wouldn’t be captured. This is likely why you're seeing all requests once DevTools is open—because enabling DevTools activates more detailed logging and monitoring capabilities.
I'm trying to find a workaround. Using "Network.enable" didn't help.
It's an extremely weird issue which seems to be a bug in Chromium itself.
It happens especially for:
{urlPattern: '*add_response.json', requestStage: 'Response'}
.But it's never a problem after I open the DevTools panel.
ChatGPT has some interesting suspicion about it:
I'm trying to find a workaround. Using "Network.enable" didn't help.