Socket
Book a DemoInstallSign in
Socket

wdio-video-recorder

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-video-recorder

Records WebdriverIO tests. Uses ffmpeg to capture screen (remote)

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

alt text

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

Praveen Prasannan

Docs & further reading

Keywords

webdriverio

FAQs

Package last updated on 29 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts