
Playwright Recording
Records browser interactions as video files using Playwright's built-in recording API. You point it at a URL, script out clicks and form fills, and it saves a video file you can drop into Remotion compositions or use as demo footage. The source shows practical patterns for common scenarios like login flows, scrolling demos, and multi-page navigation, plus workarounds for cursor visibility since Playwright doesn't show the mouse by default. Honestly most useful when you need repeatable, high-quality screen recordings for product demos without manually capturing your screen every time you update the UI. The slowMo option and custom ripple effects help make the recordings actually watchable.
- skills.sh installs
- 1.6K
- GitHub stars
- 2.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add digitalsamba/claude-code-video-toolkit --skill playwright-recording --agent claude-codeInstalls into .claude/skills of the current project.
Files
Playwright Video Recording
Playwright can record browser interactions as video - perfect for demo footage in Remotion compositions.
Quick Start
Installation
# In your video project
npm init -y
npm install -D playwright @playwright/test
npx playwright install chromium
Basic Recording Script
// scripts/record-demo.ts
import { chromium } from 'playwright';
async function recordDemo() {
const browser = await chromium.launch();
const context = await browser.newContext({
viewport: { width: 1920, height: 1080 },
recordVideo: {
dir: './recordings',
size: { width: 1920, height: 1080 }
}
});
const page = await context.newPage();
// Your recording actions
await page.goto('https://example.com');
await page.waitForTimeout(2000);
await page.click('button.demo');
await page.waitForTimeout(3000);
// Close to save video
await context.close();
await browser.close();
console.log('Recording saved to ./recordings/');
}
recordDemo();
Run with:
npx ts-node scripts/record-demo.ts
# or
npx tsx scripts/record-demo.ts
Recording Configuration
Viewport Sizes
Sponsors
Details
- Repository
- github.com/digitalsamba/claude-code-video-toolkit
- Categories
- Testing & QA, Documentation, Automation & Workflows, Sales & Marketing, CLI & Terminal, Generative Media, Video & Audio Editing
- First seen
- Jun 3, 2026