Choose an interface¶
Use the same engine from the command line, an SDK, or a local proxy.
CLIFetch URLs, run batches, capture browsers, compare results, and write reports.
Go libraryUse the native client, options, and measurement packages.
Node.js SDKUse an ESM client backed by the engine-matched daemon.
Python SDKUse a context-managed client with typed responses.
Local proxyRoute an existing HTTP(S) caller through a new profile-shaped connection.
Daemon protocolConnect another language through the JSON Lines interface.
Every interface uses the same engine and an executable JSON profile. They differ in orchestration and diagnostics.
| Capability | CLI | Go | Node.js | Python | Local proxy |
|---|---|---|---|---|---|
| One GET or POST | fetch |
Get / Do |
get / post / request |
get / post / request |
Caller sends HTTP(S) |
| Browser context | --request-kind |
Request.Browser |
browserContext |
browser_context |
Incoming browser request metadata |
| Upstream proxy | --proxy / --proxy-env |
WithProxy |
proxy option |
proxy option |
proxy --proxy |
| Cookies | --cookie, files |
client/request options | constructor/request options | constructor/request options | Caller-managed |
| URL list and concurrency | Built in | Application code | Application code / client pool | Application code / client pool | Caller-managed |
| Capture and compare | Commands | Measurement API | CLI invocation | CLI invocation | No |
| HTML/JSON report, trace, PCAPNG | Built in | Trace and key-log APIs | Application code | Application code | No CLI report writer |
| Low-level daemon protocol | daemon |
daemon package |
Used internally | Used internally | No |
Same task, four ways¶
All four examples request a response from https://example.com/ using the chrome profile.
For a POST, supply a real browser context. SDKs do not inherit every CLI feature; the table identifies where the application must own the equivalent work.