xk6-browser
xk6-browser copied to clipboard
Implement `Video` API to support video capture/recording of test
Implement support for Video API, and enable video capture/recording of test. This feature is important to support a very visual representation of what the end-user experience is like, especially powerful when combined with a load test that is exercising the backend systems.
Relevant links:
- Playwright docs: https://playwright.dev/docs/api/class-video and https://playwright.dev/docs/api/class-page#page-video
- Playwright code: https://github.com/microsoft/playwright/blob/master/packages/playwright-core/src/server/chromium/videoRecorder.ts