Example to export chrome tab as a video
- Exported videos are stored in Downloads folder
- Specify bitrate to control quality of the exported video by adjusting
videoBitsPerSecond
property inbackground.js
- xvfb
- npm modules listed in package.json
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
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.