Skip to content

[Feature] Redirect video stream to new path #5853

Closed

Description

Some of us run Playwright as test cases, e.g. via Jest using it statements and test files (suites). When using the awesome videos functionality it saves one huge video in case the browser context never closes between tests.

It would be cool to have hooks to page.video() e.g. page.video().path('some-path') to redirect the buffer to a new file. It would also be cool if I can chose the file name of the video in those scenarios, as I might want to name them as the test case. (I can add a UUID or similar myself if wanted).

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

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions