Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codeceptjs-video-helper

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codeceptjs-video-helper

CodeceptJS Helper for multi sesssion video recording

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
156
increased by126.09%
Maintainers
1
Weekly downloads
 
Created
Source

Video Helper for CodeceptJS multi-session recording

I wanted to make a nice test recording, one to show to clients and public.

Playwright allows you to record sessions, but creates several separate recordings, one for each session. This package generates a json file with a test run report that allows you to generate a nice looking video. It also generates a simple mlt file that can be played back or used to generate a recording with the melt command.

Installation

  npm install --save-dev conceptjs-video-helper

Usage

codecept.conf.js

 helpers: {
  VideoHelper: {
    require: 'codeceptjs-video-helper'
  },
  Playwright: {
    browser: 'chromium',
    url: 'http://localhost:8001',
    show: false,
    emulate: {
      recordVideo: {
        dir: "./recordings"
      }
    }
  }
}

The scenario.mlt and scenario.json files will be placed in the recordings directory You can run melt to merge videos together:

  melt recordings/scenario.mlt

TODO

  • Create better video renderer

FAQs

Package last updated on 27 Nov 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc