browser_get_network_log
POST /api/execute/browser_get_network_logFetches the chronological buffer of captured HTTP transactions recorded within the target session for traffic auditing and protocol debugging. Each entry in the returned array details the request method, full destination URL, request and response header maps, numeric status code, MIME classification, timing metadata, and transferred payload byte count. Because continuous packet inspection introduces memory overhead, the engine only populates this ring buffer after traffic capture has been explicitly turned on for the instance. Automation scripts inspect these records to extract bearer tokens from background XHR headers, verify that analytics beacons fired with expected query parameters, or diagnose failing GraphQL mutations that produce no visible DOM error. Reading the buffer does not purge or reset existing transaction entries in memory.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| context_id | string | yes | Session handle from which captured HTTP request and response records will be retrieved. |
Usage
result = await browser.get_network_log(context_id=context_id)