puppeteer JavaScript video-recording Chrome
Need help with puppetcam?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.
muralikg

Description

Export puppeteer tab as webm video

261 Stars 54 Forks MIT License 8 Commits 5 Opened issues

Services available

Need anything else?

Puppetcam

Example to export chrome tab as a video

  1. Exported videos are stored in Downloads folder
  2. Specify bitrate to control quality of the exported video by adjusting
    videoBitsPerSecond
    property in
    background.js

Dependencies

  1. xvfb
  2. npm modules listed in package.json

Usage

npm install
node export.js http://tobiasahlin.com/spinkit/ spinner.webm

Thanks to @cretz for helping with automatic tab selection and avoiding the permission dialog

Motivation

Was looking for a method to export a video of user actions rendered using our custom player used in uxlens. Export has to happen on a server in an automated fashion and hence the usage of xvfb.

Sample video

Puppetcam

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.