mrkeyoor.comAsk

duwqijlk/browser-capturetested 25 Nov 2026commit 3c6fb46

browser-capture review

Use duwqijlk/browser-capture if you need its documented network, script and HAR investigation workflow and can manage local browser debugging and Chinese documentation.

  • Tests pass
2 sto install
  • 0 packages
Dev Toolsevaluationupdated 25 Nov 2026

Browser-capture is a command-line tool and AI agent skill for collecting browser traffic and JavaScript investigation artifacts through CDP connections. The README and output guide checked for this review are in Chinese. duwqijlk/browser-capture is a different project from hazlema's full-page screenshot extension.

Verdict

Use duwqijlk/browser-capture if you need its documented network, script and HAR investigation workflow and can manage local browser debugging and Chinese documentation. Choose another tool if you need a full-page screenshot extension or documented Firefox/WebKit automation. Our checkout at commit 3c6fb46 installed in 2 seconds and completed tests in 8 seconds. The README directs readers to cloned source; the separate npm recipe failed with E404. Browser acceptance work is detailed in the final section.

Infographic on how browser-capture works, its uses, our test result, common pitfalls and who should use it
Tested 25 November 2026: npm install failed after 1.7 s. Before that: source install 2 s.

We ran it

Lab card: what happened when we ran browser-capture
Lab card from our sandbox run
Screenshot of browser-capture (github.com/duwqijlk/browser-capture)
github.com/duwqijlk/browser-capture
Install✓ · 2s0 packages · 1 MB
Buildn/ano build script
Tests✓ · 8sran, no count parsed
Known vulns00 critical · 0 high · 0 moderate · 0 low (npm audit)
Repo39 files~8,509 lines of source · 0.5 MB · 1 CI workflows · tests dir

Answers from our run

Does browser-capture build from source?

Dependencies installed in 2 seconds (0 packages), and the project has no separate build step. We cloned commit 3c6fb46 into a clean Debian container with 3 CPUs and no project-specific setup.

Do browser-capture's tests pass?

Yes. The project's own test command exited successfully in 8 seconds, although its output did not expose an individual test count.

Does browser-capture have known vulnerabilities in its dependencies?

npm audit found none in the dependency tree at the time of our run.

Who should not use browser-capture?

People seeking a toolbar extension that saves full-page PNG screenshots.

What are the alternatives to browser-capture?

Playwright, Puppeteer, Browser Capture by hazlema. Use duwqijlk/browser-capture if you need its documented network, script and HAR investigation workflow and can manage local browser debugging and Chinese documentation.

Setup2/5In our 2026-11-25 run “npm install browser-capture@latest” failed with “npm error A complete log of this run can be found in: /work/home/.npm…”, though our source checkout installed in 2 s.Editor’s note: Checkout setup succeeded, but the records contain no completed browser attachment and capture for assessing full setup ease.
Docs4/5The README has an install section (“环境要求与安装”) and a usage section (“方式 1:作为独立命令行工具使用”); we did not run its quickstart ourselves, and the README is mostly in Chinese, not English.Editor’s note: Chinese documentation describes commands and artifacts; instructional accuracy through a complete browser session was not assessed.
Community3/5Last push on 2026-11-23 and 196 stars.Editor’s note: No attributable independent investigation or support exchange establishes community support quality for this repository.
Maturity1/5No tagged GitHub release, repository created 2026-11-23 and its test suite passed in our sandbox.Editor’s note: Successful repository checks do not assess browser capture completeness, interruption recovery or sustained collection behavior.

How we score

Who it’s for

Developers investigating browser requests, JavaScript call stacks and storage changes.
Authorized researchers who need saved scripts, network records and HAR exports.
Agent users who can manage a local browser debugging connection and read or translate Chinese documentation.

Who it’s NOT for

People seeking a toolbar extension that saves full-page PNG screenshots.
Readers whose selection requirement is documented Firefox or WebKit automation.
Teams whose artifact-handling rules prohibit retaining real cookies or response bodies.

Setup reality

Our November 25, 2026 checkout run at commit 3c6fb46 installed successfully in 2 seconds and completed tests successfully in 8 seconds. It recorded 0 dependencies and 1 MB on disk. Build was skipped because no build target existed, and npm audit reported 0 known vulnerabilities. The sandbox configuration was 3 CPUs, 8 GB RAM and image label lab-node:22.

The README specifies Node.js 22 or newer and directs readers to clone GitHub and invoke node bin/capture.cjs. It says npm installation is unnecessary. A separate November 25 attempt at commit 3c6fb4639ea3 requested browser-capture@latest from npm and failed with E404 in 1.7 seconds, after a 1-second clone step. Its container configuration was 2 CPUs and 4 GB RAM, with no published ports or secrets. Teardown succeeded.

Short answer

Use duwqijlk/browser-capture for documented network and JavaScript investigation workflows if you can manage local browser debugging and Chinese documentation; skip it if your deliverable is a full-page PNG. The project's README describes a CDP collector and agent skill, while hazlema's Browser Capture describes a screenshot extension. CDP means Chrome DevTools Protocol. The owner-qualified repository name is the quickest way to distinguish these two tools before following installation instructions or choosing an output format.

Our source-checkout run installed browser-capture in 2 seconds and completed its tests successfully in 8 seconds. Those checkout measurements at commit 3c6fb46 give a concrete starting point for assessing setup. The README's workflow starts from cloned source and uses a local browser connection. A separate npm request failed before collection began. The practical recommendation is therefore to follow the source instructions and choose this project for its documented investigation artifacts, with browser acceptance work described in the final section.

What you can do with browser-capture

The README documents HTTP traffic collection, browser storage events, JavaScript source collection and offline analysis through BitBrowser, AdsPower or direct Chrome-family debugging connections. Its provider table distinguishes browser-window identifiers from debugging ports. For BitBrowser, --window means a UI window sequence; for AdsPower, it means a window number. For the chrome provider, it means a remote debugging port, with 9222 as the documented default. The same numeric argument consequently identifies different things across providers.

The documented modes are stealth, standard and deep, with standard as the default. The README's mode table assigns network and DOMStorage collection to all three modes, while deep mode adds saved page and worker scripts and asynchronous call stacks. Its hook controls include --hooks none, --hooks all and selected categories. These choices determine which browser activity the documentation says the collector observes, so selecting a mode is part of defining the investigation rather than merely changing output verbosity.

The README also documents correlate for associating captured call stacks with local source and export-har for producing HAR 1.2. A request investigation can therefore have several outputs: network records, the scripts associated with those records and an exchange file for another analysis tool. The output guide maps those outputs to filenames, including records.jsonl, scripts.jsonl, analysis/correlated-timeline.jsonl and capture.har. That file map is more useful for choosing the tool than the broad word "capture" alone.

What people use browser-capture for

The maintainer documents browser-request investigation, selected WebAssembly and cryptography hooks, and offline source correlation or HAR export. These README workflows describe what a researcher would collect and inspect. They also show why this CLI belongs in a different category from an image extension: the deliverable is a set of network, script and diagnostic artifacts. The following use cases are attributed to the documentation rather than presented as customer deployments.

Who describes the workflow What they show in documentation What you would keep
duwqijlk's README Capture a Chrome debugging session in stealth mode Network and browser-storage activity
duwqijlk's README Start deep capture with selected WebAssembly and cryptography hooks Events around those selected browser APIs
duwqijlk's output guide Run offline correlation and HAR export A source-linked timeline and an exchangeable network file

For request analysis, the output guide identifies records.jsonl as the protocol-analysis source and hook-events.jsonl as the source for events such as cryptographic input and output previews. For a source-code question, it points to script files and the correlated timeline. This gives an investigator a concrete way to choose an artifact: start with the question being asked, then select the mode and files the documentation associates with it. A hook observes calls around an existing browser function.

What happened when we ran it

Our November 25, 2026 checkout run at commit 3c6fb46 recorded a 2-second successful install and an 8-second successful test command. The sandbox measurement record lists 3 CPUs, 8 GB RAM and image label lab-node:22. Build was skipped because no build script or target existed. The record also distinguishes the 1 MB installed footprint from the 0.5 MB checkout, which contained 39 files and approximately 8,509 source lines.

Checkout check Recorded result How to read it
Install Succeeded in 2 seconds The checkout setup step completed
Dependencies and disk 0 dependencies recorded; 1 MB on disk Recorded setup footprint
Build No build script or target; skipped No compilation result
Tests Succeeded in 8 seconds Successful test command; the record supplies no test count
npm audit 0 known vulnerabilities: critical 0, high 0, moderate 0, low 0 npm advisory result
Repository scan 39 files; about 8,509 source lines; 0.5 MB checkout Size of the inspected source tree
Project signals One CI workflow, a tests directory, no Dockerfile Files detected in the checkout

The separate November 25 run description identifies commit 3c6fb4639ea3 and a fresh unprivileged container configured with 2 CPUs, 4 GB RAM, no published ports and no secrets. Its clone step took 1 second. The description says it installed from npm, but the actual install step records failure. The step result is the evidence for the outcome: npm returned E404 and the recipe stopped at installation.

Hands-on question Answer Verdict Why
Did the clone step finish? The step records 1 second Completed step Clone record
Did npm install the requested package? Failed in 1.7 seconds, exit 1 Failed npm returned E404 for browser-capture@latest
Where did the recipe stop? At install, recorded as install-failed Stopped before collection The finding points to npm's debug log
Did teardown finish? Teardown reported ok Completed Teardown record

The install error says 404 Not Found - GET https://registry.npmjs.org/browser-capture - Not found and 'browser-capture@latest' is not in this registry. The install-failed finding names the debug log at /work/home/.npm/_logs/2026-11-25T13_40_39_661Z-debug-0.log. This was a registry request made by the recipe. The README's standalone instructions instead clone the repository and explicitly say that npm installation is unnecessary.

Where people get stuck: choose the documented setup route

The README starts installation with a Git clone and Node.js 22 or newer, rather than an npm package request. Its standalone CLI instructions then invoke node bin/capture.cjs --help. That sequence separates obtaining the source from connecting to a browser. The provider table supplies local endpoints for BitBrowser and AdsPower and a debugging port for Chrome-family connections, so a successful checkout is only the source side of the documented workflow.

Situation What the documentation or run says Useful next step
npm returns E404 The registry could not supply the requested package Follow the README's Git clone route
You have source but no browser connection Provider examples target local browser APIs or a debugging port Match the provider and window or port to your browser
You need a screenshot hazlema's namesake documents a full-size PNG Choose the image-capture project deliberately
You need to understand saved files The output guide maps network, hooks, scripts and status files Start with the artifact matching your question

The README gives these commands for obtaining the source and opening help. They are documentation examples, and the collection commands elsewhere in the README require the corresponding browser endpoint. The direct Node command is accompanied by run.cmd for Windows and run.sh for macOS and Linux. That gives readers several documented launch routes while keeping the same CLI entry point and provider model.

git clone https://github.com/duwqijlk/browser-capture.git
cd browser-capture
node bin/capture.cjs --help

The docs are Chinese, with English command names

The README and output guide checked for this review are in Chinese, while commands, flags and artifact filenames use English identifiers. The README's requirements and provider table explain the meaning of arguments such as --window, --hooks and --async-depth. English-only readers can recognize those identifiers, but translating the surrounding explanations is part of understanding the documented differences between modes, browser connections and shutdown behavior.

The same README documents an agent-skill installation route by placing the complete directory in the agent's skills location. Its Claude Code example uses ~/.claude/skills/browser-capture; other agents use their corresponding skills directories, and project-level examples include .agent/skills/browser-capture and .claude/skills/browser-capture. This is a second way to expose the CLI workflow to an agent. The standalone instructions remain a useful reference because they name the commands and browser identifiers that the skill will use.

Captures can contain real cookies and response bodies

The output guide lists real Cookie and Set-Cookie values, response bodies and WebSocket frames in records.jsonl. Its artifact descriptions also list cryptographic input and output previews in hook-events.jsonl. These are consequential contents when deciding where capture directories may be stored or shared. A local collection directory can contain authenticated-session material even though its files are created on the investigator's own machine.

The README states that CDP and browser API connections are restricted to loopback addresses such as 127.0.0.1 and localhost. That statement concerns the collector's browser connection, whereas the output guide describes the data saved from the browser session. The two facts answer different handling questions. A team choosing this tool needs an artifact policy that accounts for cookies, response bodies and hook events, including any copies attached to tickets or made available to an assistant.

Deep capture produces several kinds of files

The output guide separates raw protocol events, derived request records, storage changes, hook events, scripts and completion status. Its directory map places these under provider, window and run identifiers. It also lists optional memory samples and heap snapshots. The layout gives readers a way to navigate a capture by purpose: protocol records for traffic, source files for JavaScript and diagnostics for collection status.

The README documents a 16 MiB response-body limit and HAR 1.2 export. The output guide identifies capture.har as the exported file and analysis/correlated-timeline.jsonl as the source-linked analysis output. Those filenames describe different products of the workflow. Keeping their roles clear helps when an investigation moves between the collector's detailed records and a network-analysis tool that imports HAR, especially when the question also involves scripts or hook events outside the exported network view.

The output guide names five completion fields in summary.json: streamsClosed, dataFlushed, cleanupComplete, metadataWritten and captureStatus. These are the documented fields to inspect after stopping a session. It separately lists coverage.jsonl for diagnostics, override matches and coverage events, and worker logs under the controller directory. Together, those paths describe where the project expects a reader to look for delivery status and collection diagnostics.

browser-capture vs Playwright, Puppeteer and the screenshot namesake

Playwright documents browser automation and testing, Puppeteer documents a JavaScript browser-control API, and browser-capture documents an investigation collector. The choice starts with the desired output: assertions and repeatable actions, browser control inside a program, network and source artifacts, or an image. The table compares those documented purposes. The owner names are included because the two browser-capture repositories have different outputs despite sharing a repository name.

Project Documented focus Pick it when
duwqijlk/browser-capture CDP traffic capture, selected hooks, script collection and offline exports You need network and source artifacts for an investigation
Microsoft Playwright Web automation and testing across Chromium, Firefox and WebKit You need repeatable user flows and browser assertions
Puppeteer A JavaScript API controlling Chrome or Firefox You want browser control inside your own JavaScript program
hazlema/browser-capture A Brave/Chromium extension saving full-size PNG images Your deliverable is an image of a page

Playwright drives Chromium, Firefox, and WebKit with a single API, according to its README. Puppeteer provides a high-level API to control Chrome or Firefox, according to its README. Browser-capture's README instead lists BitBrowser, AdsPower and direct Chrome-family debugging connections. For readers whose requirement is Firefox or WebKit automation, these documented browser lists provide a concrete selection criterion before comparing collection formats or agent integration.

The hazlema README describes native full-page capture: it does not scroll and stitch images together, resize elements, expand panels or change page zoom. That implementation description belongs to the screenshot extension. Its stated PNG output is the reason to choose it for page images. duwqijlk's README describes network and reverse-engineering artifacts, so screenshot mechanics are not the basis for judging this CLI's documented purpose.

FAQ

Browser-capture's README requires Node.js 22 or newer and instructs readers to run cloned source directly. Installation, platform requirements and licensing are useful first-time-user questions because they can be answered from the project's own instructions. The browser provider is a separate setup choice: the README supplies BitBrowser and AdsPower local API endpoints and a direct Chrome-family debugging route, each with its own meaning for the window argument.

How do you install browser-capture?

Clone duwqijlk/browser-capture, enter the directory and run node bin/capture.cjs --help, following the standalone instructions. The README says npm installation is unnecessary. Its next examples start collection using a selected provider and browser identifier, including port 9222 for direct Chrome. Installing the agent skill uses a different directory-placement route documented in the same README, while retaining the project's CLI commands.

What runtime and platforms does it require?

The README specifies Node.js 22 or newer and lists Windows, macOS and Linux. Its installation section explains that the implementation uses native fetch, WebSocket and node:test. Alongside direct Node invocation, it gives a Windows run.cmd launcher and a macOS/Linux run.sh launcher. The provider examples then connect that runtime to an existing browser debugging endpoint or a supported browser manager's local API.

What license does browser-capture use?

The README identifies browser-capture's software license as MIT, and the repository metadata also identifies MIT. The README separately describes intended uses including authorized interface debugging, security research, performance analysis and frontend reverse-engineering study. Licensing and capture-data handling answer separate questions: the output guide's documented cookies, response bodies and cryptographic previews still determine what a team needs to consider before distributing a capture directory.

What we have not tested yet

Our checks at commit 3c6fb46 cover checkout setup and the test command; they contain no demonstrated browser capture. The separate run at commit 3c6fb4639ea3 stopped at its npm request. Neither record establishes capture completeness, successful BitBrowser, AdsPower or Chrome attachment, or stealth against a named detector. The README's test count is its own description, not our measured passing-test count. The lab-node:22 image label does not identify the actual runtime or operating-system version, and the setup footprint does not measure capture storage growth.

Browser acceptance work still includes response overrides, debugger-statement removal, worker-source coverage, WebAssembly extraction, streaming-message completeness, source correlation, interruption cleanup and browser-disconnection recovery. The README's detection-avoidance and restoration statements are documentation claims. We have no collection measurements for CPU overhead, memory overhead, disk growth or session duration, and no side-by-side browser performance comparison. Loopback enforcement, redaction, output permissions and network egress also require inspection beyond these repository checks.

The research checked for this review contains no attributable independent investigation or support exchange for duwqijlk/browser-capture. GitHub metadata observed on November 25 records a November 23, 2026 last push and zero open issues and PRs; those figures do not measure support quality. No ownership relationship between duwqijlk's CLI and hazlema's extension is established. A useful next acceptance step is a local browser fixture with known requests, followed by inspection of bodies, source links and completion fields using session data intended for that exercise.

Alternatives

ProjectWhat it isPick it when
Playwright gh↗A framework for web automation and testing across Chromium, Firefox and WebKit.Choose it for repeatable browser flows and assertions across those engines.
Puppeteer gh↗A JavaScript library with a high-level API to control Chrome or Firefox.Choose it when browser control belongs inside a JavaScript program.
Browser Capture by hazlemaA Brave/Chromium extension for full-size PNG screenshots.Choose it when the required output is an image of a webpage.

What people are saying

  1. [velocity-scout] duwqijlk/browser-capture

Sources

  1. browser-capture README
  2. Output directory and artifacts
  3. Playwright README
  4. Puppeteer README
  5. Repository metadata
  6. hazlema Browser Capture README

More dev tools reviews