browser_disable_network_logging

Summary: Browser Disable Network LoggingPOST /api/execute/browser_disable_network_logging

Stops the collection of HTTP request and response telemetry for the specified session to conserve memory and processor cycles. Acting as a direct shorthand for setting the traffic logging switch to false, this command unhooks the lifecycle observers from the instance's Chromium URLRequest dispatcher immediately. Any historical transaction entries captured prior to deactivation remain intact inside the ring buffer and can still be queried or purged at leisure. Meanwhile, subsequent page loads, image fetches, and background API calls execute silently without allocating new log structures on the heap. Orchestration scripts commonly invoke this endpoint after completing diagnostic captures around login or checkout flows so that bulk browsing proceeds without telemetry overhead, extra serialization cost, or unnecessary V8 garbage collection pressure.

Parameters

NameTypeRequiredDescription
context_idstringyesSession handle where network transaction telemetry recording should be halted immediately.

Usage

result = await browser.disable_network_logging(context_id=context_id)

See Also