---
agent:
  instructions: "Search Rill’s public pages using keywords or a question. Results include excerpts and source links in Markdown."
  endpoint: "https://userill.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---
# How to let Claude Code record browser video — Rill

Source: https://userill.dev/blog/how-to-let-claude-code-record-browser-video

[← All articles](https://userill.dev/blog)

Claude Code & browser evidence

# How to let Claude Code record browser video

 By the Rill team  Published November 26, 2026  Updated November 29, 2026 

When Claude Code finishes a UI change or bug fix, a terminal log telling you "tests pass" rarely gives a reviewer confidence that the button, layout, and API requests actually worked in a real browser. You can let Claude Code record a browser video—complete with synced console errors, network requests, and a timeline—and hand back a single unlisted link.

## Why screenshots and terminal logs fall short

*    **Static screenshots hide timing issues:**  A screenshot taken too early or too late misses loading flashes, double-submitted forms, or redirect loops.
*    **No console or network proof:**  A page can look visually right while throwing an unhandled console error or returning a `400` on a background request.
*    **Manual repro slows down review:**  Without a replayable clip, the human reviewer has to pull the branch, start the dev server, and click through the flow themselves.

## Step 1: Install the Rill CLI

Install the scoped `@runalabs/rill-cli` package. To record, you also need a [supported Node.js release and current Chrome or Chromium](https://userill.dev/docs/cli#runtime).

 Copyable snippet 

```
npm install --global @runalabs/rill-cli@latest
```

## Step 2: Set up Rill in your Claude Code project

Run this from your project folder. It installs the skill and a project rule that tells Claude Code to use it when a task includes browser QA.

 Copyable snippet 

```
rill agents install --agent claude-code
```

Use `rill agents install` to set up both Claude Code and Codex. Start a fresh agent session after setup. The [project setup guide](https://userill.dev/docs/install-skill) explains which files you can share with your team and how to refresh the skill.

You can try a first recording without an account. Rill allows three successful anonymous recordings, up to five minutes each. Those recordings and their unlisted links expire after seven days unless claimed. [Anonymous limits and expiry](https://userill.dev/docs/plans#anonymous)

## Step 3: Give Claude Code a browser check

Give Claude Code the URL, the steps, and what you expect to happen. The installed project rule tells it to use Rill and return the replay.

 Copyable snippet 

```
Open http://localhost:3000/settings in the browser.
Update the display name, save, and reload the page.
Verify that the change persists and report any console errors or failed requests.
```

For a single recording without project setup, use the [agent quickstart prompt](https://userill.dev/docs/agent-quickstart#prompt).

Behind the scenes, Claude Code runs:

1.  `rill record start --url http://localhost:3000/settings --title "Settings persistence check"` — starts a managed Chromium session and prints JSON containing `recordingId` and `cdpUrl`.
2.  Connects its browser automation (for example, Playwright `chromium.connectOverCDP(cdpUrl)`) to drive the flow inside that recorded browser.
3.  `rill record stop <recordingId>` — uploads the frames and diagnostics, prepares the replay, and returns the available recording link.
4.  `rill inspect <shareUrl>` — verifies the recording status and checks captured diagnostics before summarizing the result.

## What if the app requires an existing signed-in Chrome session?

Managed browsers start with a clean profile. If your flow requires an already-authenticated browser tab, install [Rill for Chrome](https://userill.dev/chrome), connect your selected tab with `rill browser connect`, and ask Claude Code to record that existing tab (`--browser existing`). Rill captures only the tab you select and never asks for passwords or general browser cookies.

## Honest boundaries to keep in mind

*    **Your agent drives the browser; Rill records it.**  Shell access alone does not give Claude Code browser control—it needs Playwright or another CDP-capable browser controller.
*    **One recording is scoped evidence, not full test coverage.**  Always list what was exercised and what remains unverified (for example, mobile viewports or other user roles).
*    **Keep sensitive data out of anonymous links.**  Unlisted links can be viewed by anyone holding the URL; use a connected workspace and its sharing settings when you need restricted access.

Try it in Claude Code

## Let your agent show the fix before you merge.

Set up Rill in your project so Claude Code returns a replay when it checks a browser flow.

[Set up Claude Code with Rill](https://userill.dev/docs/install-skill)[Check a public URL free](https://userill.dev/browser-check)

[Compare Free and Pro](https://userill.dev/pricing)
