wdio-video-recorder
v1.0.2
Published
Records WebdriverIO tests. Uses ffmpeg to capture screen (remote)
Downloads
240
Maintainers
Readme
WebdriverIO test recording with ffmpeg
Records WebdriverIO tests.
Uses ffmpeg to capture screen (remote)
screen.
Install
npm install wdio-video-recorder
Usage
Add the following beforeEach
/afterEach
hooks:
module.exports = {
beforeEach: function (browser, done) {
require('wdio-video-recorder').start(browser, done)
},
afterEach: function (browser, done) {
require('wdio-video-recorder').stop(browser, done)
}
}
Enable the video screen recording in your test settings:
{
"test_settings": {
"default": {
"videos": {
"enabled": true,
"delete_on_success": false,
"path": "",
"format": "mp4",
"resolution": "1440x900",
"fps": 15,
"display": ":60",
"pixel_format": "yuv420p"
}
}
}
}
Author
Docs & further reading
- http://webdriver.io
- https://blueimp.net