> ## Documentation Index
> Fetch the complete documentation index at: https://smithers.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# browserContext

> Gateway browser service RPC.

`browserContext` controls a gateway-local ephemeral Chromium session.

* Method: `browserContext`
* Scope: `run:read`
* Transports: HTTP RPC, WebSocket RPC

Request: `{ sessionId, sinceRevision?, include? }`. Include values are visible-text, accessibility, interactive-elements, screenshot, selections, recent-actions, console-summary, and network-summary.
Response: bounded context slices plus `{ fresh, snapshot, revision, include }`. Requested screenshots are consumable inline JPEG objects `{ data, mediaType: "image/jpeg" }`; decoded data is limited to 512 KiB and becomes `null` with `CAPTURE_FAILED` when it exceeds the limit. Selection history is returned only when `selections` is requested and contains at most 20 recent successful picks without screenshot bytes.

Errors are versioned as `v1` and include `InvalidRequest`, `Unauthorized`, `Forbidden`, `REVISION_CONFLICT`, `SSRF_BLOCKED`, `QUOTA_EXCEEDED`, and `Internal`.
