- Home
- Skills
- Testing & Debugging
- Browser Recorder & Offline Replay
Works with the AI Agents you already use
Browser Recorder & Offline Replay
by Kalu Madari
Record and replay deterministic browser sessions offline using Playwright and CDP for bug reproduction and testing.
Free
Browser Recorder & Offline Replay
Example session with this skill installed
Record a 15-second session of https://example.com/dashboard and verify it can be replayed offline in strict mode.
- Read your context and instructions
- Compiled the browser recorder
Session recording and verification completed successfully. The recording is stored in the local captures directory.
Capture and Replay Report
| Metric | Value |
|---|---|
| Capture Directory | captures/2026-11-30_14-05-22 |
| Duration | 15 Seconds |
| Total Requests Captured | 42 |
| WebSocket Frames | 12 |
| DOM Snapshots | 3 |
| Replay Status | PASS |
| Fulfilled (Strict Mode) | 42 |
| Fatal Errors | 0 |
| Pending Requests | 0 |
# To view the capture manifest:
cat captures/2026-11-30_14-05-22/manifest.jsonl
# To replay the session again in headed mode:
python replay_cli.py captures/2026-11-30_14-05-22 --headed
Next steps
- Inspect
interactions.jsonlto verify user click paths were recorded correctly. - Run a diff between this
dom_snapshots/folder and a previous run to identify UI regressions. - Integrate the
replay_cli.pycommand into your CI pipeline for offline smoke testing.
Connects securely to your tools. The creator never sees your data.
About this skill
Debugging flaky tests or reproducing production bugs is impossible when the live environment changes every minute. This skill records full browser sessions to disk, allowing you to replay them in a strictly offline environment for deterministic testing and analysis.
What it does
- Network Capture records every HTTP/S request, response body, and WebSocket frame using Playwright and CDP.
- Strict Mock Replay serves sessions back from disk, blocking all live network access to ensure the environment is frozen.
- DOM Snapshots takes point-in-time snapshots of the document structure during the recording phase.
- Interaction Tracking logs clicks, inputs, and navigation events for accurate session reconstruction.
- CLI & GUI Interfaces provides both a terminal-based automation flow and a Tkinter-based dashboard for manual control.
How it works
- Initialize the recorder by providing a target URL and a capture duration.
- Execute the
record_cli.pyscript to generate a timestamped directory containing the manifest and response bodies. - Verify the capture by running
replay_cli.pyagainst the generated folder path. - Analyze the output report, which details fulfilled requests and any fatal errors or pending responses.
Frameworks & tools
Built with Python, Playwright, and Chrome DevTools Protocol (CDP). It uses Tkinter for its optional graphical interface and writes data in JSONL format for easy parsing.
Why this beats prompting it yourself
Building a reliable network interceptor that handles binary response bodies and WebSockets is complex and prone to race conditions. This skill provides a production-ready capture manifest and replay engine that enforces strict network isolation without manual mocking.
Use cases
- Record a specific bug sequence to create a portable, reproducible test case for developers.
- Run regression tests in CI environments without providing access to internal staging backends.
- Snapshot a web application state for offline visual diffing and DOM audits.
- Archive the network state of a site for compliance or forensic analysis.
Known limitations
Requires Chromium to be installed via Playwright. Record duration must be specified upfront in the CLI or stopped manually in the GUI.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account
Permissions
You can checkout full source code at https://github.com/kalu-madari/Browser-Recorder
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.