Open
Description
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.