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.
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();
});