Reproduce a bug or capture QA evidence in Chrome: record the session and keep the ZIP on your machine

2026-11-30来源 dev.toEnglish

You're asked to reproduce a bug that doesn't show up in your Chrome. The ticket talks about a button, it doesn't include the console, it doesn't say which key anyone pressed, and it doesn't have the request that returned 500 or how the screen looked at that moment. The path is missing. A QA run has a similar gap: the report marks the case as passed or failed, and often there's no evidence of what was actually executed. I don't want to upload that session to a third-party server, especially if the page is internal or carries data that shouldn't leave the machine. I also don't want to create an account just to document a failure or a test case.

That's why I built QuietReplay. I open the page, press Record, repeat what I was told or run the test case, and press Stop and save. A ZIP shows up in Downloads, and I can open it later, send it to whoever has to reproduce the failure, or attach it to the ticket or the test report. The README puts it in these words: «QuietReplay records what you do on a web page and saves a file on your computer, so you can watch it later or send it to someone. Press Record, do what you want to show, then press Stop and save. Nothing is sent online, and there is no account.»

I'm talking about 2.1.1, the same version in package.json, in the manifest, in the GitHub release (27 November 2026 at 11:44:53, Lima time, America/Lima), in the Chrome Web Store (listing updated on 28 November 2026 at 04:31:53, America/Lima), and in Microsoft Edge Add-ons (27 November 2026 at 15:02:10, America/Lima). The official ZIP quietreplay-2.1.1-chrome.zip is 129,060 bytes, and its SHA-256 is 1798432596ff406d65b70d5c8bcb06a7728e65feaa0b27e7066b7f4e1f5c06b0. I ran the checks in this article with Node.js 24.22.1, against that ZIP and against the code at tag v2.1.1 (commit 8eb7ce24bdf001cec980325605cef891fadf5c7e). It is Manifest V3, for Chrome 116 or later and Microsoft Edge 116 or later. The interface strings I quote are in English.

It does not click the buttons on the site again. You review the file afterwards, locally: the video, the steps, the console, the errors, and the requests that did not load. You don't need a QuietReplay server to view it.

How to install it and how to record a session

The shortest path is the Chrome Web Store or Microsoft Edge Add-ons. If you'd rather build it from the source:

pnpm install pnpm run build 

Then, in chrome://extensions (or the equivalent page in Edge): Developer mode, Load unpacked, and pick .output/chrome-mv3. That path needs Node.js 22.12.0 or later and pnpm 12.10.1, the packageManager declared in the repository.

The flow, according to the README, is this. You open an http:// or https:// page. QuietReplay does not enter Chrome's or Edge's own pages, the extensions store, or another extension. You click the icon (the tooltip says QuietReplay — record this page) and press Record. The browser may ask for access to that site. If you refuse, the README warns that «this view can still be recorded, but a reload can stop new notes from the page.» Reloading does not stop the recording if you allowed the origin. Closing the tab does discard it.

You do what you want to show. You can close the window: the recording continues. When you're done, you open QuietReplay again and press Stop and save. The window shows Ready, Recording…, Saving…, or Saved. The icon shows REC on that tab, an ellipsis while it saves, and a brief check mark once the file is on disk. While you record you can change the File name. The language, English or Español, is saved at once in that window; in Settings you still have to press Save settings. The first time, it follows the browser language: Spanish if it starts with es, English otherwise.

Chrome suggests three shortcuts (on a Mac, Alt is Option; you can change them at chrome://extensions/shortcuts). Alt+Shift+R starts recording, or stops and saves. Alt+Shift+B stops and saves; if that tab is not recording, nothing happens. Alt+Shift+L opens QuietReplay.

In Settings, you can record without changing anything. The starting values, according to the README, are these: the language, the browser's; Save what the page loads, on; Record a video, on; Hide passwords and private details (beta), off; the folder in Downloads, quietreplay. The folder, the language, and the hiding option are applied when you press Stop and save. The other two are read the next time you press Record; if the page reloads during a recording, Save what the page loads is read again.

What's in the ZIP

When you press Record, the extension arms the active tab and injects a bridge into the page. That bridge notes clicks, keys, address changes, console messages, and errors. If Save what the page loads is on (it starts that way), it also notes the page's fetch and XMLHttpRequest requests. The service worker accumulates those events in memory. Record a video also starts on: an offscreen document records the tab with tabCapture and MediaRecorder. When you press Stop and save, a ZIP is built in memory and chrome.downloads writes it to Downloads. QuietReplay does not ask for the path; if Chrome is set to ask where to save each file, Chrome does ask. The default name follows this form, taken from the README's example: quietreplay-20261126-133045-example.com.zip.

Paraphrasing the table in the README, inside the ZIP you get report.md, a readable report in the language you chose, with the steps, the errors, what did not load, and browser data (name, window size, screen density, language, time zone); report.json, the same facts with the quietreplay/v1 schema; console.json, the page's messages with time and kind; events.json, the full timeline; network.har, the page's requests, only if there were any; the pictures in screenshots/001-….jpg, in order; and video.webm, only if it was recorded.

Then I open View a saved file and land on the Saved files page. I drop or choose one or more ZIP files, watch the video next to the steps, and, if I need to, rename an item in the list (that does not change the file already in Downloads) or use Save together to put the open recordings into a single file: a bundle.json with schema quietreplay-bundle/v1 and one ZIP per case inside cases. The README puts it this way: «Nothing is uploaded.» The viewer can copy the request, the response, or a curl to the clipboard, only if you press it.

Evidence for a test case

The same file is useful when you're running QA cases. You open the case, press Record, walk through the steps, and press Stop and save. While you record you can put the case identifier in File name, so you can recognize it later in Downloads. That applies if the case passes and if it fails: the evidence is the path, not a checkbox on the report.

Inside the ZIP you get the report, the console, the events, the requests in network.har if there were any, the screenshots, and the video, if it was recorded. You attach that file yourself to the ticket or the test report. QuietReplay does not connect to Jira, TestRail, or any other tracker: it writes the ZIP to Downloads, and you move it from there.

If the case fails, whoever receives the file opens it locally and sees how the error was reached. The extension does not click the buttons again: they can watch the video, the steps, the console, and the HAR, and with that try to reproduce it. If the case passes, the same ZIP is a record of what was executed. If you recorded several cases, in Saved files you can combine them into a single file, with one ZIP per case inside cases.

Privacy, checked in the code

The privacy policy starts with this sentence: «QuietReplay does not collect, send, or sell your data.» Further down, in literal quotes: «It does not ask for an account.» «It sends nothing online: no statistics and no crash reports.» «Your settings stay in this browser. They are not copied to your Google account.» That matches the published artifact.

The manifest of quietreplay-2.1.1-chrome.zip declares these fixed permissions: activeTab, scripting, storage, downloads, tabCapture, and offscreen. There are no mandatory host_permissions. There are optional_host_permissions for http://*/* and https://*/*, but when you press Record the extension asks only for that tab's origin, for example https://example.com/*. tabCapture and offscreen are required because video starts on by default.

The CSP on the extension pages is this, copied from the published manifest:

script-src 'self'; object-src 'none'; connect-src 'none'; img-src 'self' blob: data:; media-src 'self' blob: 

connect-src 'none' stops those pages from opening network connections. The repository includes pnpm run check:no-network, which walks the build and rejects fetch(, XMLHttpRequest(, WebSocket(, sendBeacon(, EventSource(, importScripts(, and remote http(s) URLs, with explicit exceptions, for example https://example.invalid, used only as a base for parsing URLs. On the local build, the command replied: «Zero-network check passed (15 files).» The same criterion, applied to the official ZIP and including the viewer pages, found no violations.

In that ZIP there is no chrome.storage.sync, no indexedDB, and no localStorage. Settings are stored in chrome.storage.local, under the key quietreplay.settings. The state of a recording in progress is stored in chrome.storage.session, under quietreplay.armed: it keeps the service worker from losing the session if it restarts, and it is not copied to a Google account. The only use of fetch and XMLHttpRequest in the extension's own code is in recorder-main, and it doesn't make calls of its own: it wraps the page's calls to note them.

Two things to watch. The page still talks to its own servers; if Save what the page loads is on, those fetch and XHR requests end up in network.har, on your disk. That is not QuietReplay telemetry. And Hide passwords and private details (beta) starts off: until you turn it on, the file can include keypresses (in a password field the note is *; in the others, the key), network bodies and headers, and a video of the screen as you saw it. A click is saved as the text of the button or the link, not as what was typed inside a field. Shift, Ctrl, Alt, and the Command key alone are not recorded.

When hiding is on, it covers common patterns in the file (emails, phone numbers, card numbers, IP addresses, passwords inside a URL, authorization or cookie headers, strings that look like a secret) and the words you put in Words to hide in the file. Screenshots blur the fields and the Areas to blur. That redaction is heuristic: it can miss something private or cover something you wanted to keep. The video is not redacted. Also, the blur is applied for an instant to the live page just before each screenshot (a 50 ms wait in the code) and then removed; if the video is recording, those instants can show up in the WebM.

It does not ask for an account, and there is no QuietReplay server that the recording is sent to. No statistics or crash reports are sent. What was recorded stays in the browser profile or in Downloads.

Limits

It only works in Chromium browsers: Chrome 116 or later, or Edge 116 or later. There is no listing on Firefox Add-ons. It records one page at a time, and the video is from the tab where you last pressed Record.

There is no time limit, in the sense of the README: «The file keeps the whole time from Record to Stop and save. There is no time limit.» There are caps in the code, and when they are reached the extension saves and stops on its own: at most 8,000 events (MAX_CAPTURE_EVENTS in lib/buffer.ts; screenshots count) and at most 25 × 1,024 × 1,024 characters of retained network bodies (MAX_NETWORK_BODY_CHARS). If the next body would go over that cap, it is saved without adding it. The README does not document these figures.

The page bridge only wraps window.fetch and XMLHttpRequest. It does not note WebSocket, sendBeacon, or EventSource. The README already excludes «Pictures, styles, and other files the browser loads on its own.» Screenshots are, at most, one every 2 seconds: on click, on a page change, and one when you stop. The README marks them as beta at this point: «keep the recorded tab visible so Chrome does not capture another window.»

Redaction is optional, heuristic, and does not cover the video. With it on, the blur on the pictures can appear for an instant in the video. Closing the tab discards anything not yet saved. Large videos use memory in the Saved files tab; the README recommends: «Close recordings you no longer need.» Renaming in the viewer only affects the list and a file you save later, not the ZIP already in Downloads.

Closing

If you need to reproduce a bug, capture evidence for a test case, or leave the path in a file, install QuietReplay or look at the code on GitHub. It's also on Edge. If you find a bug or something doesn't match what I describe, open it on the repo.

References

The checks in this article were run with QuietReplay 2.1.1 and Node.js 24.22.1.

原文:https://www.a8q9.cn/en/article/reproduce-a-bug-or-capture-qa-evidence-in-chrome-record-the-session-and-keep-the-e2f5be.html

相关文章