Recording videos of tests using Monte Media Library in Java
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 ...
Get Selenium Testing Tools Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.