In Java, we can extend Selenium WebDriver test scripts to record videos by using an open source tool named Monte Media Library. The Monte Media Library developed by Werner Randelshofer is an open source tool available under Creative Commons Attribution License.
In this recipe, we will explore how to configure and use the Monte Media Library's
ScreenRecorder class with Selenium to record movies of tests.
ScreenRecoder supports the AVI and QuickTime formats for recording movies. For playing movies in AVI format, you will need to install Techsmith Screen Capture Codec (TSCC Codec)
while QuickTime format is supported by Apple's QuickTime player.
ScreenRecorder provides multiple configurations ...