playwright-dotnet
playwright-dotnet copied to clipboard
[BUG] StdIOTransport Shown in Traces
Context:
- Playwright Version: 1.22
- Operating System: Windows, Mac
- .NET version: .NET 6
- Browser: Chromium
Code Snippet
await context.RouteAsync(new Regex(@"https://\w*\.pendo\..*"), r => r.AbortAsync("blockedbyclient"));
Describe the bug
I'm attempting to use routing to abort certain requests. This is working however, I find my trace files are now filled with a lot entries for StdIOTransport.ProcessStream. I would guess that an entry is generated every time a route is requests is evaluated to see if it matches a defined route. This reduces the usability of trace files and makes it harder to local actual test actions. It would be more useful to only put entries in the trance for requests that matched a route and were acted upon.