Before you start
- Node.jsVersion 18 or newer.
- Claude CodeUse a project folder for the installed skills.
Set it up
-
Install Playwright CLI
Run this in your terminal, or ask Claude Code to run it.
Install commandnpm install -g @playwright/cli@latest
-
Install the browser skills
Run this from your project folder.
Skills commandplaywright-cli install --skills
-
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.
-
Record the task
Start video recording before the browser actions, then stop it afterwards.
Start recordingplaywright-cli video-start demo.webm
Stop recordingplaywright-cli video-stop
-
Check the official reference
The command list includes browser controls, screenshots and recording options.
Official Playwright CLI docs