1.0.3 • Published 3 years ago

e2e-tests-video-recorder v1.0.3

Weekly downloads
61
License
ISC
Repository
github
Last release
3 years ago

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

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago