agentchrome 1.62.0

A CLI tool for browser automation via the Chrome DevTools Protocol
Documentation
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.TH get 1  "get "
.SH NAME
get \- Get detailed information about a specific network request
.SH SYNOPSIS
\fBget\fR [\fB\-\-save\-request\fR] [\fB\-\-save\-response\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIREQ_ID\fR>
.SH DESCRIPTION
Get detailed information about a specific network request by its numeric ID. Returns JSON with full request and response headers, timing breakdown, and body size. Use \-\-save\-request or \-\-save\-response to save the request or response body to a file.
.SH OPTIONS
.TP
\fB\-\-save\-request\fR \fI<SAVE_REQUEST>\fR
Save request body to a file
.TP
\fB\-\-save\-response\fR \fI<SAVE_RESPONSE>\fR
Save response body to a file
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help (see a summary with \*(Aq\-h\*(Aq)
.TP
<\fIREQ_ID\fR>
Numeric request ID to inspect
.SH EXTRA
EXAMPLES:
  # Get request details
  agentchrome network get 42

  # Save the response body to a file
  agentchrome network get 42 \-\-save\-response body.json

  # Save both request and response bodies
  agentchrome network get 42 \-\-save\-request req.json \-\-save\-response resp.json
.SH CAPABILITIES
.PP
Network request monitoring and interception
.TP
.B network list
List network requests or get details of a specific request
.TP
.B --type
Filter by resource type (comma-separated: document,stylesheet,image,media,font,script,xhr,fetch,websocket,manifest,other)
.TP
.B --url
Filter by URL pattern (substring match)
.TP
.B --status
Filter by HTTP status code (exact like 404 or wildcard like 4xx)
.TP
.B --method
Filter by HTTP method (GET, POST, etc.)
.TP
.B --limit
Maximum number of requests to return
.TP
.B --page
Pagination page number (0-based)
.TP
.B --include-preserved
Include requests from previous navigations
.TP
.B --frame
Filter network requests by originating frame index
.TP
.B network get
Get detailed information about a specific network request
.TP
.B req_id
Numeric request ID to inspect
.TP
.B --save-request
Save request body to a file
.TP
.B --save-response
Save response body to a file
.TP
.B network follow
Stream network requests in real-time (tail -f style)
.TP
.B --type
Filter by resource type (comma-separated: document,stylesheet,image,media,font,script,xhr,fetch,websocket,manifest,other)
.TP
.B --url
Filter by URL pattern (substring match)
.TP
.B --method
Filter by HTTP method (GET, POST, etc.)
.TP
.B --timeout
Auto-exit after the specified number of milliseconds
.TP
.B --verbose
Include request and response headers in stream output
.SH EXAMPLES
.PP
Examples:
.TP
.B \`agentchrome network list\`
List recent network requests
.TP
.B \`agentchrome network list --type xhr,fetch\`
Filter requests by resource type
.TP
.B \`agentchrome network get 42\`
Get details of a specific request by ID
.TP
.B \`agentchrome network follow --url api.example.com\`
Stream network requests matching a URL pattern
.TP
.B \`agentchrome network list --frame 1\`
List network requests from a specific frame