Session Screencast
Records browser sessions as .webm videos. Videos are displayed in the DevTools UI alongside the snapshot and DOM mutation views.
Note: Screencast recording is supported for WebdriverIO and Selenium WebDriver today. Nightwatch.js support is planned for a future release.
Demo

Setup
Screencast encoding requires ffmpeg on PATH and the fluent-ffmpeg package:
# Install ffmpeg — https://ffmpeg.org/download.html
brew install ffmpeg # macOS
sudo apt install ffmpeg # Ubuntu/Debian
# Install fluent-ffmpeg
npm install fluent-ffmpeg
Configuration
services: [
[
'devtools',
{
screencast: {
enabled: true,
captureFormat: 'jpeg',
quality: 70,
maxWidth: 1280,
maxHeight: 720,
}
}
]
]