Skip to content

subject-21/e2e-tests-video-recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Record your tests with ffmpeg in nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published