webdriver icon indicating copy to clipboard operation
webdriver copied to clipboard

Provide similar methods for audio and/or video recording as to take screenshots

Open andreastt opened this issue 9 years ago • 3 comments

Gerardo Capiel:

Provide similar methods for audio and/or video recording as to take screenshots.

andreastt avatar Oct 04 '16 12:10 andreastt

Gerardo Capiel:

This would enable testing of video/audio playback and Web Audio API.

andreastt avatar Oct 04 '16 12:10 andreastt

Adding this would give us the possibility to "relive" failed test cases and to see possible quirks (on the UI, infrastructure, etc.) which would remain unseen otherwise. Currently, we are only able to look at pictures of certain states which increases the manual effort of rerunning tests.

lanzelot1989 avatar Jul 13 '17 11:07 lanzelot1989

I've been wondering about this lately as well, and see that Cypress supports recording video and there's also a Playwright plugin. Similarly, services like BrowserStack and Sauce support live manual testing, which is sending live video.

I don't know how any of these work at a technical level, but presume they're recording at the window manager level or OS level. For live testing in BrowserStack and Sauce you see the whole screen, both on desktop and mobile, so that'd be at the OS level.

Some of the underpinnings for this must already exist in browsers that support https://w3c.github.io/mediacapture-screen-share/, which I think wasn't shipped when this issue was created so could be new information.

cc @AutomatedTester @christian-bromann who I've asked a bit about this space today.

foolip avatar Apr 20 '20 13:04 foolip