Skip to content

CLI reference

This reference is generated from the executable’s command definitions at every documentation build. For runnable examples, JSON actions/routes and output behavior, follow the CLI tutorial and CLI workflows.

Scalable browser runtime for agents.
Usage: brimp <COMMAND>
Commands:
fingerprints Manage impersonate.pro fingerprint catalogs and export profile data
profile Capture a profile from a live browser on localhost
doctor Verify native initialization and basic DOM/JavaScript/crypto functionality
fetch Fetch a URL, execute page scripts, and output its live DOM or an evaluated result
run Execute a classic/bundled JavaScript file (or - for stdin) in a browser realm
plugins Inspect available plugins without creating a page
Options:
-h, --help
Print help
-V, --version
Print version
Manage impersonate.pro fingerprint catalogs and export profile data
Usage: brimp fingerprints <COMMAND>
Commands:
config Persist an impersonate.pro API key; IMPERSONATE_API_KEY overrides it
update Download the fingerprint catalog atomically
list List downloaded fingerprint names and client metadata
show Print a downloaded fingerprint as JSON
Options:
-h, --help
Print help
Persist an impersonate.pro API key; IMPERSONATE_API_KEY overrides it
Usage: brimp fingerprints config --api-key <API_KEY>
Options:
--api-key <API_KEY>
-h, --help
Print help
Download the fingerprint catalog atomically
Usage: brimp fingerprints update [OPTIONS]
Options:
--api-root <API_ROOT>
-h, --help
Print help
List downloaded fingerprint names and client metadata
Usage: brimp fingerprints list
Options:
-h, --help
Print help
Print a downloaded fingerprint as JSON
Usage: brimp fingerprints show [OPTIONS] <NAME>
Arguments:
<NAME>
Options:
--profile
Wrap the fingerprint in a browser profile for --profile or Session
-h, --help
Print help
Capture a profile from a live browser on localhost
Usage: brimp profile <COMMAND>
Commands:
capture
Options:
-h, --help
Print help
Usage: brimp profile capture [OPTIONS] --output <OUTPUT>
Options:
--output <OUTPUT>
--directory <DIRECTORY>
Export index.html and capture.js for independent hosting
--no-serve
Export the kit without starting the localhost server
--port <PORT>
[default: 0]
--timeout <TIMEOUT>
[default: 10m]
--overwrite
--plugin <PLUGINS>
Select the complete plugin set (bundled names or JavaScript files)
--plugin-options <PLUGIN_OPTIONS>
--no-plugins
-h, --help
Print help
Verify native initialization and basic DOM/JavaScript/crypto functionality
Usage: brimp doctor [OPTIONS]
Options:
--profile <PROFILE>
Load a validated browser profile JSON file
--impersonate <IMPERSONATE>
libcurl-impersonate transport preset (for example chrome150)
--proxy <PROXY>
HTTP, HTTPS or SOCKS5 proxy URL
--ca-bundle <CA_BUNDLE>
PEM certificate authority bundle
--timeout <TIMEOUT>
[default: 30s]
-h, --help
Print help
Fetch a URL, execute page scripts, and output its live DOM or an evaluated result
Usage: brimp fetch [OPTIONS] <URL>
Arguments:
<URL>
Options:
--format <FORMAT>
Raw response, live DOM, or Defuddle output. Fetch defaults to HTML
[possible values: raw, html, markdown, json]
--output <OUTPUT>
Write the result to a file, or use - for stdout
--overwrite
Replace existing output and diagnostic files
--eval <EVAL>
Evaluate JavaScript after scripts/actions and write the JSON result
--eval-file <EVAL_FILE>
Read final evaluation JavaScript from a file
--script <SCRIPT>
Post-navigation preparation scripts, in order
--init-script <INIT_SCRIPT>
Run before document scripts on each navigation
--content <CONTENT>
CSS selector for extraction content (Markdown/JSON output only)
--remove-images
Remove images from extracted Markdown/JSON
--language <LANGUAGE>
BCP47 language hint for extraction
--extract-debug
Include extraction debugging details
--wait <WAIT>
domcontentloaded, load, networkidle, or nonnegative seconds
[default: load]
--wait-selector <WAIT_SELECTOR>
Wait for a matching DOM element; this does not check visibility
--network-idle <NETWORK_IDLE>
Quiet interval used by network-idle waiting
[default: 500ms]
--timeout <TIMEOUT>
Wall-clock deadline for the entire command
[default: 30s]
--header <HEADER>
Add a request header as NAME: VALUE; repeat for multiple headers
--cookie <COOKIE>
Seed a session cookie as NAME=VALUE for the target URL
--proxy <PROXY>
HTTP, HTTPS or SOCKS5 proxy URL
--ca-bundle <CA_BUNDLE>
PEM certificate authority bundle
--profile <PROFILE>
Load a validated browser profile JSON file
--impersonate <IMPERSONATE>
libcurl-impersonate transport preset (for example chrome150)
--user-agent <USER_AGENT>
Override the browser user agent; cannot accompany a profile file
--languages <LANGUAGES>
Comma-separated navigator languages; cannot accompany a profile file
--platform <PLATFORM>
Override navigator.platform; cannot accompany a profile file
--method <METHOD>
HTTP method. Supplying data does not automatically change it
[default: GET]
--data <DATA>
Request body as text
--data-file <DATA_FILE>
Read the request body from a file
--auth <AUTH>
HTTP authentication credentials USER:PASSWORD, scoped to the target origin
--no-redirects
Return the first response without following redirects
--max-redirects <MAX_REDIRECTS>
Maximum number of redirects to follow
[default: 20]
--fail-on-http-error
Exit with code 11 for HTTP status 400 or higher
--stream
Requires raw format. Streams bytes without navigating or executing page scripts
--response-info <RESPONSE_INFO>
Write response metadata to a separate file
--plugin <PLUGIN>
Select the complete plugin set by name or JavaScript file; repeat in installer order
--no-plugins
Disable default browser plugins (extraction output still installs its extractor)
--plugin-options <PLUGIN_OPTIONS>
NAME=JSON; file plugin names are their file stems
--offline
Reject network requests in this page
--latency <LATENCY>
Delay before transport submission; not bandwidth throttling
--bypass-cache
Bypass the page response cache
--connect-timeout <CONNECT_TIMEOUT>
Connection establishment timeout
[default: 10s]
--max-response-bytes <MAX_RESPONSE_BYTES>
Maximum response body size in bytes
[default: 67108864]
--trace <TRACE>
Write runtime API diagnostics as JSONL
--trace-report <TRACE_REPORT>
Write a grouped dependency report from retained diagnostics, including coverage and loss
--trace-mode <TRACE_MODE>
API descriptor tracing or recursive browser/environment object tracing
[default: api]
[possible values: api, recursive]
--trace-include <TRACE_INCLUDE>
Only trace API paths matching this prefix; repeat for more prefixes
--trace-stack
Include JavaScript stacks in diagnostics
--trace-capacity <TRACE_CAPACITY>
Retained diagnostic ring capacity, up to one million records
[default: 4096]
--events <EVENTS>
Write page and network events as JSONL
--clock <CLOCK>
Use real system time or a programmable realm clock
[default: system]
[possible values: system, logical]
--epoch-ms <EPOCH_MS>
Unix epoch milliseconds for a logical realm clock
--advance-time <ADVANCE_TIME>
Advance logical time after scripts/actions
--max-tasks <MAX_TASKS>
Maximum tasks per logical-time advance, up to one million
[default: 10000]
--actions <ACTIONS>
JSON array of ordered input/evaluation/wait actions
--routes <ROUTES>
JSON array of declarative request/response rules
-h, --help
Print help
Execute a classic/bundled JavaScript file (or - for stdin) in a browser realm
Usage: brimp run [OPTIONS] <program>
Arguments:
<program>
Options:
--url <URL>
--html <HTML>
Load a local HTML file as the page document instead of navigating
--html-url <HTML_URL>
URL assigned to the loaded HTML document; used as its base URL
--format <FORMAT>
Raw response, live DOM, or Defuddle output. Fetch defaults to HTML
[possible values: raw, html, markdown, json]
--output <OUTPUT>
Write the result to a file, or use - for stdout
--overwrite
Replace existing output and diagnostic files
--eval <EVAL>
Evaluate JavaScript after scripts/actions and write the JSON result
--eval-file <EVAL_FILE>
Read final evaluation JavaScript from a file
--script <SCRIPT>
Post-navigation preparation scripts, in order
--init-script <INIT_SCRIPT>
Run before document scripts on each navigation
--content <CONTENT>
CSS selector for extraction content (Markdown/JSON output only)
--remove-images
Remove images from extracted Markdown/JSON
--language <LANGUAGE>
BCP47 language hint for extraction
--extract-debug
Include extraction debugging details
--wait <WAIT>
domcontentloaded, load, networkidle, or nonnegative seconds
[default: load]
--wait-selector <WAIT_SELECTOR>
Wait for a matching DOM element; this does not check visibility
--network-idle <NETWORK_IDLE>
Quiet interval used by network-idle waiting
[default: 500ms]
--timeout <TIMEOUT>
Wall-clock deadline for the entire command
[default: 30s]
--header <HEADER>
Add a request header as NAME: VALUE; repeat for multiple headers
--cookie <COOKIE>
Seed a session cookie as NAME=VALUE for the target URL
--proxy <PROXY>
HTTP, HTTPS or SOCKS5 proxy URL
--ca-bundle <CA_BUNDLE>
PEM certificate authority bundle
--profile <PROFILE>
Load a validated browser profile JSON file
--impersonate <IMPERSONATE>
libcurl-impersonate transport preset (for example chrome150)
--user-agent <USER_AGENT>
Override the browser user agent; cannot accompany a profile file
--languages <LANGUAGES>
Comma-separated navigator languages; cannot accompany a profile file
--platform <PLATFORM>
Override navigator.platform; cannot accompany a profile file
--method <METHOD>
HTTP method. Supplying data does not automatically change it
[default: GET]
--data <DATA>
Request body as text
--data-file <DATA_FILE>
Read the request body from a file
--auth <AUTH>
HTTP authentication credentials USER:PASSWORD, scoped to the target origin
--no-redirects
Return the first response without following redirects
--max-redirects <MAX_REDIRECTS>
Maximum number of redirects to follow
[default: 20]
--fail-on-http-error
Exit with code 11 for HTTP status 400 or higher
--stream
Requires raw format. Streams bytes without navigating or executing page scripts
--response-info <RESPONSE_INFO>
Write response metadata to a separate file
--plugin <PLUGIN>
Select the complete plugin set by name or JavaScript file; repeat in installer order
--no-plugins
Disable default browser plugins (extraction output still installs its extractor)
--plugin-options <PLUGIN_OPTIONS>
NAME=JSON; file plugin names are their file stems
--offline
Reject network requests in this page
--latency <LATENCY>
Delay before transport submission; not bandwidth throttling
--bypass-cache
Bypass the page response cache
--connect-timeout <CONNECT_TIMEOUT>
Connection establishment timeout
[default: 10s]
--max-response-bytes <MAX_RESPONSE_BYTES>
Maximum response body size in bytes
[default: 67108864]
--trace <TRACE>
Write runtime API diagnostics as JSONL
--trace-report <TRACE_REPORT>
Write a grouped dependency report from retained diagnostics, including coverage and loss
--trace-mode <TRACE_MODE>
API descriptor tracing or recursive browser/environment object tracing
[default: api]
[possible values: api, recursive]
--trace-include <TRACE_INCLUDE>
Only trace API paths matching this prefix; repeat for more prefixes
--trace-stack
Include JavaScript stacks in diagnostics
--trace-capacity <TRACE_CAPACITY>
Retained diagnostic ring capacity, up to one million records
[default: 4096]
--events <EVENTS>
Write page and network events as JSONL
--clock <CLOCK>
Use real system time or a programmable realm clock
[default: system]
[possible values: system, logical]
--epoch-ms <EPOCH_MS>
Unix epoch milliseconds for a logical realm clock
--advance-time <ADVANCE_TIME>
Advance logical time after scripts/actions
--max-tasks <MAX_TASKS>
Maximum tasks per logical-time advance, up to one million
[default: 10000]
--actions <ACTIONS>
JSON array of ordered input/evaluation/wait actions
--routes <ROUTES>
JSON array of declarative request/response rules
-h, --help
Print help
Inspect available plugins without creating a page
Usage: brimp plugins <COMMAND>
Commands:
list
show
Options:
-h, --help
Print help
Usage: brimp plugins list
Options:
-h, --help
Print help
Usage: brimp plugins show <NAME>
Arguments:
<NAME>
Options:
-h, --help
Print help