playwright-dotnet icon indicating copy to clipboard operation
playwright-dotnet copied to clipboard

[BUG] StdIOTransport Shown in Traces

Open bjharo opened this issue 4 years ago • 0 comments

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.

Screen Shot 2022-06-27 at 8 51 28 AM

bjharo avatar Jun 27 '22 12:06 bjharo