You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add type:playwright visual source for browser-based capture #16
We have a working Playwright spike in the course-builder repo (tools/courseforge/demo-capture.py) that captures a full-workflow demo video of the CourseForge A1 LiDAR UI using Playwright's built-in video recording.
Spike results (validated in course-builder)
Playwright records 1920x1080 WebM at 25fps with smooth mouse automation
ffmpeg re-muxes to H.264 MP4 (1.5 Mbps, yuv420p) — fully compatible with the existing compose pipeline
Video + audio mux confirmed: H.264 video + AAC audio combine cleanly via ffmpeg -c:v copy -c:a aac
The spike script runs headless on Ubuntu and produces ~3.5 MB for an 18-second demo
Proposal
Add type: playwright as a new visual source type alongside the existing type: manim and type: vhs sources.
Integration points
config.py — Accept type: playwright in visual_map entries with fields:
script: path to a Python capture script (like the spike's demo-capture.py)
Activity
Add playwright optional dependency and improve documentation
Add playwright optional dependency and improve documentation