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

Is it possible to record videos only on failure for Electron app? Tried all options from the doc, but it didn't work #31895

Closed
1 task done
ypolishchuk-ledger opened this issue Jul 29, 2024 · 1 comment

Comments

@ypolishchuk-ledger
Copy link

Please do not submit this issue.

  • I understand
@mxschmitt
Copy link
Member

Stopping recording is not supported as of today. You would need to start always and stop at the end and then decide to throw away or not. We recommend tracing, since it gives you a much better developer experience. The following resources might help you:

See here: https://playwright.dev/docs/api/class-tracing
That might help you as well: https://github.com/microsoft/playwright/pull/31437/files#diff-e2d41da267d99a638c95d506a28c9bdc5baec7ed34209f91badf95315122996bR44

Folding into #8208

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

No branches or pull requests

2 participants