e2e-tests-video-recorder

1.0.3 • Public • Published

e2e tests video recorder

Installation

This module is installed via npm:

$ npm install e2e-tests-video-recorder

Note: In order to use this you need to install ffmpeg on you machine, You also must add ffmpeg to path in system environment variables.

Usage

To start using this library, you must include it in your project:

const Recorder = require("e2e-tests-video-recorder");

Create Recorder instance and start recording

const rec = new Recorder("Full/path/to/your/destination/folder", "video_format", fps - optional);

You can use it with testing frameworks like Jasmine:

beforeAll(() => {
     rec.start();
 })
 
 afterAll(() => {
     rec.stop();
 });  

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i e2e-tests-video-recorder

    Weekly Downloads

    5

    Version

    1.0.3

    License

    ISC

    Unpacked Size

    5.54 kB

    Total Files

    7

    Last publish

    Collaborators

    • subject-21