Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Separate Network logs when working with two contexts #28903

Closed
Nav-2d opened this issue Jan 8, 2024 · 3 comments · Fixed by #30810
Closed

[Feature] Separate Network logs when working with two contexts #28903

Nav-2d opened this issue Jan 8, 2024 · 3 comments · Fixed by #30810

Comments

@Nav-2d
Copy link
Contributor

Nav-2d commented Jan 8, 2024

Let us know what functionality you'd like to see in Playwright and what your use case is.

Currently, if you are working with two contexts then in the trace file, there is no way to identify which network request is part of which context. Wondering if there is a way to identify that.

Screenshot 2024-01-08 at 2 26 36 PM

Do you think others might benefit from this as well?

@vladkrasn
Copy link

Yes, would be nice to set up an alias for custom APIRequestContext and BrowserContext.
Network tab is hard to work with when using multiple contexts.

@mxschmitt mxschmitt assigned yury-s and unassigned pavelfeldman Jan 22, 2024
@pbarhyl
Copy link

pbarhyl commented Feb 1, 2024

That will be so handy feature! Generally finding info form different context in test actions, logs or timeline is quite hard - wish to have switch/label/outline to focus traces on given context❤️

@dgozman dgozman added v1.43 and removed v1.42 labels Feb 5, 2024
@dgozman dgozman assigned yury-s and unassigned yury-s Feb 5, 2024
@AndriiFrolov
Copy link

yes, please implement this! it is really hard to analyse failure when you have multiple contexts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants