# Playwright Video Recording vs a Product Demo Video

> Playwright video recording gives you a raw WebM of a test run. What it does well, what a product demo needs on top, and how to get there without building it.

Canonical: https://klevo.si/blog/playwright-video-recording

[Working with AI](https://klevo.si/blog/category/working-with-ai)

Klevo · October 20, 2026 · 5 min read

Playwright can record video of a browser session: set `recordVideo` on a browser context (or `video` in the Playwright Test config) and you get a WebM file for each page when the context closes. That is made for debugging tests, and it does that job well. As a product demo it falls short: there is no visible cursor, no zoom, no captions, the size is capped small by default and every wait is in the clip. You can build those layers yourself, or use a tool that already does. Klevo is that tool for web apps: Claude or ChatGPT drives the browser, and Klevo renders an MP4 with a smooth cursor, zooms and one caption per step.

## How does Playwright record video?

Two ways, per the Playwright docs:

- **Playwright Test:** set `video` in the config to `'on'`, `'retain-on-failure'` or `'on-first-retry'`. Videos land in the test output folder.
- **Library:** create a context with `browser.newContext({ recordVideo: { dir: 'videos/' } })`. The file is written when the context closes, so `await context.close()` before you look for it, and read the path with `page.video().path()`.

By default the video is the viewport scaled down to fit 800 by 800 pixels; set `recordVideo.size` (and a matching viewport) for a bigger one. Newer versions can also outline each action in the video for debugging. Puppeteer has its own screencast API that relies on ffmpeg; check the Puppeteer docs for your version.

## Why isn’t a raw recording a product demo?

Watch one back and the gaps are obvious:

- **No cursor.** Headless browsers do not draw one, so clicks happen out of nowhere.
- **No focus.** The whole viewport stays at the same scale; a small button is a small button.
- **No words.** Nothing tells the viewer why a step matters.
- **Dead time.** Every network wait and page load is in the clip.
- **One shape.** The recording is the viewport, not a 9:16 story or a 1:1 post in a device frame.

Fixing that by hand means logging every action with timestamps and target boxes, drawing a cursor along an eased path, computing zoom keyframes, cutting idle gaps, composing captions and frames, and encoding with FFmpeg. It is a fun project. It is also a few weeks you are not spending on your product.

## What does Klevo add on top of a browser recording?

Klevo’s worker runs Chromium too, captures the page as it paints, and logs every step. Then it composes the video:

1. **Cursor:** a cursor drawn along the path the real mouse moved, with a ripple on taps for mobile.
2. **Zoom:** an eased zoom on the steps marked for it.
3. **Captions:** one per step, written by the AI for the viewer.
4. **Pacing:** idle gaps cut down to the style’s hold, so loading never drags.
5. **Frames and formats:** 16:9, 9:16, 1:1 or 4:5, in a browser, phone or tablet frame, with intro and outro cards ([demo video formats and device frames by channel](https://klevo.si/blog/demo-video-formats-and-device-frames-by-channel)).
6. **Logins:** saved secrets that run before the recording, with password fields blurred.

And you do not write the script. You describe the flow to Claude, ChatGPT, Cursor or Claude Code; the AI explores your app one step at a time, retries what fails, and saves the steps as a versioned JSON script with stable targets (role, label, text). How that session works: [Claude MCP demo video](https://klevo.si/blog/claude-mcp-demo-video).

## Playwright video or Klevo: which do you need?

|  | Playwright `recordVideo` | Klevo |
|---|---|---|
| Purpose | Debug a test run | A demo people watch |
| Who writes the steps | You, in code | The AI, from your description |
| Output | WebM per page | MP4 with poster and thumbnail |
| Cursor and zoom | None | Smooth cursor, zoom on marked steps |
| Captions | None | One per step |
| Formats | The viewport | 16:9, 9:16, 1:1, 4:5 with device frames |
| Runs on | Your machine or CI | Klevo’s servers, public URLs only |
| Price | Free, open source | 7-day free trial, Pro from $19 a month |

If you need video of failing tests in CI, Playwright is the right tool and costs nothing. If you need a demo for a landing page, a launch or a help article, use something built for viewers.

## Can a demo script double as a test?

Partly. A Klevo script fails like a test: when a step no longer works, the render stops on it with a screenshot and the browser console. That makes each demo a quick smoke test of the flow it shows ([a failed demo step is a bug report](https://klevo.si/blog/failed-demo-step-bug-report-smoke-test)). It does not replace your test suite: nothing runs it on a schedule yet, and it has no assertions beyond “the step worked”.

## What does it cost?

| Plan | Price | What you get |
|---|---|---|
| 7-day free trial | $0 for 7 days | Your first Pro or Ultra subscription, with the plan’s full month of videos and voice credits; cancel before it ends and pay nothing |
| Pro | $19 a month | 1080p with no watermark, device frames, any Google Font, your brand, up to 120 steps |
| Ultra | $49 a month | Everything in Pro, up to 240 steps, more voice credits |

Your first Pro or Ultra subscription is free for 7 days, then $19 or $49 a month; cancel before the trial ends and you pay nothing. See the [pricing section](https://klevo.si/#pricing).

## What is the next step?

Try it on a flow you already test: take the one your Playwright suite covers and ask for it as a demo. [Start your 7-day free trial](https://klevo.si/signup), add Klevo to Claude Code or Cursor with a key ([setup guide](https://klevo.si/blog/connect-klevo-to-claude-chatgpt-and-cursor)), and describe the flow. Compare the MP4 with your test video.

## FAQ

### Can Klevo record localhost?

Not live. The browser runs on Klevo’s servers and opens public URLs only, so use a staging URL. For a local build, record your screen and upload the file: the AI picks the moments to show and Klevo renders them as prints.

### Can I export the steps?

Yes. Every video has a downloadable JSON script, and the same script renders again in another format or device ([demo videos that never go stale](https://klevo.si/blog/demo-videos-that-never-go-stale)).

### Does it handle logins?

Yes: a password, a saved browser session or a magic link, stored as a secret ([record a demo of an app behind a login](https://klevo.si/blog/record-a-demo-of-an-app-behind-a-login)).

**About this article.** Written by the team that builds Klevo, the MCP server that records a demo video of your app, click by click, from Claude or ChatGPT. Klevo is made by [nxcturnez](https://nxcturnez.com), the studio behind Valta, Karou, Copix and Nexin; we use it for our own demos. Spotted something wrong or out of date? Write to [support@klevo.si](mailto:support@klevo.si).

## Your app, demoed by AI.

 [Start your 7-day free trial](https://klevo.si/checkout?item=pro%3Amonth)

More in Working with AI

[WORKING WITH AI](https://klevo.si/blog/category/working-with-ai) Nov 21, 2026 · 7 min

## [Best MCP Servers for 2027: 10 Worth Connecting](https://klevo.si/blog/best-mcp-servers-2027)

The best MCP servers for 2027 for people who build software: GitHub, Playwright, Context7, Sentry, Linear, Notion, Figma, Stripe, Supabase and Klevo.

[WORKING WITH AI](https://klevo.si/blog/category/working-with-ai) Nov 21, 2026 · 6 min

## [Best Claude Connectors for 2027: What to Add First](https://klevo.si/blog/best-claude-connectors-2027)

The best Claude connectors for 2027 by job: files, email, calendar, design, project tools and CRM, plus custom connectors like Klevo for demo videos.

[WORKING WITH AI](https://klevo.si/blog/category/working-with-ai) Oct 20, 2026 · 5 min

## [Can Claude Make Videos? Yes, of Your App, Through MCP](https://klevo.si/blog/can-claude-make-videos)

Can Claude make videos? Not from pixels on its own, but with an MCP connector it can drive your web app and hand back a finished MP4 demo. Here is how.
