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

browser - new context - tracing - support for additional arguments provided by playwright #4007

Open
keef78 opened this issue Jan 23, 2025 · 2 comments
Labels
enhancement New feature or request priority: medium

Comments

@keef78
Copy link

keef78 commented Jan 23, 2025

According to Playwright documentation https://playwright.dev/docs/api/class-tracing it should be possible when using "tracing" use additional optional arguments like :

screenshots [boolean]
Whether to capture screenshots during tracing. Screenshots are used to build a timeline preview.

snapshots [boolean]
If this option is true tracing will
capture DOM snapshot on every action
record network activity

sources [boolean]
Whether to include source files for trace actions.

It would be great to implement also to Browser Library.

@aaltat
Copy link
Member

aaltat commented Jan 24, 2025

I think now library uses those as defaults, but your idea is nice enhancement.

@allcontributors please add @keef78 for ideas

Copy link
Contributor

@aaltat

I've put up a pull request to add @keef78! 🎉

@aaltat aaltat added enhancement New feature or request priority: medium labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: medium
Projects
None yet
Development

No branches or pull requests

2 participants