Description
chrome-har-capturer is a Node.js tool that records HAR files from a running Chrome instance. It connects to Chrome through the Chrome DevTools Protocol, loads a list of URLs and writes the requests and timings of each page load to a HAR file. You start Chrome with remote debugging enabled and then run the command line utility against it. The utility has options for the debugging host and port, viewport size, output file, capturing request bodies, allowing caching, overriding the user agent, blocking URL patterns, adding headers, ignoring certificate errors, waiting after the load event, timeouts, retries and loading URLs in parallel. The module is installed from NPM. It also provides a small API so you can write a custom application, and the source of the command line utility serves as a working example. The README is short and describes no hosted service.…
Highlights
- Captures HAR files from a running Chrome
- Batch URLs from the command line
- Options for blocking, headers and retries
- Parallel loading and a Node.js API
Ratings & Reviews
No ratings yet
Be the first to rate Chrome Har Capturer.
People also visit

chrome-devtools-axi
Control a Chrome browser session through the chrome-devtools-axi CLI
Chrome Har Capturer FAQ
What is a HAR file?
A HAR file records the requests and timings of a page load. This tool writes one for each URL it loads.
How do I start?
Install the module from NPM, start Chrome with the remote debugging port turned on, then run the command line utility with your URLs.
Can it capture request bodies?
Yes, with the -c option. The -d option sets the maximum size of POST data that is returned.
Can I use it from code?
Yes. The module has a run function that takes a list of URLs and options and returns an event emitter.
Can I load pages in parallel?
Yes, with the -l option. The README notes that the abort-on-failure option cannot be used in parallel mode.
What are the best Chrome Har Capturer alternatives?
Popular alternatives to Chrome Har Capturer include Agent Browser, HeadlessX and Kameleo. See all Chrome Har Capturer alternatives
















