Setup guide

Let Claude Code use your browser

Here are the setup commands from the reel, plus the video recording commands.

Before you start

Set it up

  1. Install Playwright CLI

    Run this in your terminal, or ask Claude Code to run it.

    Install command
    npm install -g @playwright/cli@latest
  2. Install the browser skills

    Run this from your project folder.

    Skills command
    playwright-cli install --skills
  3. Give Claude Code a browser task

    Tell it which website to open and what to click or fill in. Ask it to use playwright-cli. You can request a visible browser with --headed.

  4. Record the task

    Start video recording before the browser actions, then stop it afterwards.

    Start recording
    playwright-cli video-start demo.webm
    Stop recording
    playwright-cli video-stop
  5. Check the official reference

    The command list includes browser controls, screenshots and recording options.

    Official Playwright CLI docs