Skip to content

Records browser interactions as Playwright video for demo footage in Remotion compositions.

CCM score
66 of 100
skills.sh installs
2.1K
GitHub stars
2.8K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers recording setup with Playwright and Chromium, plus viewport and video size presets for 1080p, 720p, square, and mobile
  • Includes scripted patterns for form submission, multi-page navigation, scrolling, and login flows, each saving to ./recordings
  • Adds injected CSS and DOM overlays to show a visible cursor and click ripples, since Playwright hides the cursor by default
  • Designed for producing walkthrough footage that is then moved into a Remotion project's public/demos/ folder

Install

$ npx -y skills add digitalsamba/claude-code-video-toolkit --skill playwright-recording -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/digitalsamba/claude-code-video-toolkit
Categories
Animation & Motion, Browser Automation & Scraping, Video & Audio Editing
First seen
Jun 3, 2026

More from digitalsamba/claude-code-video-toolkit

All 10

Similar to Playwright Recording

More Animation & Motion