Selenium/How-to/Record videos of test runs

This page will assume you know how to run Selenium tests. If not, see Selenium/Getting Started. Video recording works only on Linux. For example, from Quibble or MediaWiki-Vagrant.

Overview
To record videos for our tests, we use the wdio-video-reporter NPM package which supports WebdriverIO v5 and above.

Configuration
By default, videos for all test runs will be recorded. In order to enable video recording specifically for failed tests only, run the tests by setting the  in the   file.

Videos
Videos are usually located in  or   folder. You can play them using a video player like VLC.

More information

 * Videos of test runs column at Selenium/Reference/Running tests.
 * Official wdio-video-reporter documentation
 * plugins/gitiles/mediawiki/core/+/master/tests/selenium/README.md
 * Selenium/How-to/Run tests targeting Quibble