This project adds video recording capability to a Selenium Grid. Videos are encoded into WebM/VP8 format on-the-fly and made available at the end of the test.
- Easy setup - just need to add another JAR file to the Selenium Node classpath
- Excellent video quality (at about 8-15 frames/sec)
- Additional support when running under the Xvfb virtual X Server on Linux (6 times faster video encoding)
- Simple API to retrieve videos
- Extensible storage mechanism for video storage
- Video encoding is done using native code (using JNA) - unfortunately this means that additional effort is required to support more plaforms.
For example videos recorded using this plugin, see the examples page.
-
A dual core processor (one core for video encoding, another for everything else). It is possible to lower this requirement by reducing the framerate.
-
32-bit colour display output - 8 bits red, 8 bits blue, 8 bits green, with either 8 bits of alpha or 8 bits unused. See Wikipedia for more information.
-
A Java 6 JVM (or higher) running on one of the following platforms:
¹ - Compiled and tested on Windows 7. ² - Compiled with flag -mmacosx-version-min=10.5 - it should work with older OS X versions.
The above does not apply to the Selenium Hub, which does not perform any video processing.
Download the latest version from Maven Central:
http://repo1.maven.org/maven2/com/aimmac23/selenium-video-node/
Older releases can be found here:
https://aimmac23.com/public/maven-repository/com/aimmac23/selenium-video-node/
Alternatively, if you are creating your own Selenium Maven project, add the following to your POM file's dependency section:
<dependency>
<groupId>com.aimmac23</groupId>
<artifactId>selenium-video-node</artifactId>
<version>2.8</version>
</dependency>
To get the plugin working on your Selenium grid, see Installation
The Video Nodes can change some of their behaviour, based on certain command-line parameters. See Additional Features on how to make that happen.