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-code

Installs 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

More from digitalsamba/claude-code-video-toolkit

All 12
1ai-native-camp avatarday1-test-skillai-native-camp/camp-2Day 1 테스트 스킬. "/day1-test-skill" 입력 시 실행된다. Skill이 어떻게 동작하는지 직접 체험하는 용도.1.5Kskills.sh installs
2github avatarreact19-test-patternsgithub/awesome-copilotProvides before/after patterns for migrating test files to React 19 compatibility, including act() imports, Simulate removal, and StrictMode call count changes.1.3Kskills.sh installs
3microsoft avatarplaywright-devopsmicrosoft/playwrightDevOps workflows for Playwright - CI failure analysis, workflow debugging, and release operations.1.1Kskills.sh installs
4aj-geddes avatarpenetration-testingaj-geddes/useful-ai-promptsEthical hacking and security testing methodologies using penetration testing tools, exploit frameworks, and manual security validation. Use when assessing appli1.1Kskills.sh installs
5kostja94 avatarpress-coverage-page-generatorkostja94/marketing-skillsWhen the user wants to create a press coverage page, "As Seen In" section, or media mentions aggregation. Also use when the user mentions "press coverage," "med1Kskills.sh installs
6postplusai avatarcreative-qapostplusai/postplus-skillsRecord human-in-the-loop quality judgments for generated images, voice takes, and videos in short-form production. Use this when a person has reviewed an asset 998skills.sh installs