Skip to main content

chrome-bridge-sdk

Python SDK for using chrome-bridge directly without an MCP client.

See the changelog for user-visible changes.

from chrome_bridge_sdk import ChromeBridge, SessionStatus

chrome = ChromeBridge(status_callback=lambda status: print(status.value))

async with chrome.session() as session:
    tabs = await session.browser_tabs()
    await session.browser_tab_select(tab_id=tabs[0].id)
    snapshot = await session.browser_snapshot()
    print(snapshot.title, snapshot.snapshot)

ChromeBridge stores configuration only. Entering session() discovers or starts the shared managed server, waits for the extension and FIFO lease, maintains its heartbeat, and releases it on every context exit. SessionStatus callbacks can drive application logs or startup UI.

The 21 high-level methods return frozen typed models such as Tab, Snapshot, Screenshot, ConsoleEntry, and Recording. Python parameters use snake_case, including browser_drag(start_element=..., start_ref=..., end_element=..., end_ref=...); browser_type(..., submit=False) does not require the common default explicitly. Screenshot.image_bytes decodes its Direct API base64 data.

For LLM adapters, session.tool_definitions() returns JSON Schema dictionaries and session.call(method, arguments) returns the raw Direct API JSON result. SDK exceptions expose code, retryable, and outcome_unknown attributes. Calls with an unknown outcome are never automatically retried.

Metadata

Release files for chrome-bridge-sdk 0.5.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for chrome-bridge-sdk 0.5.2
File Size Uploaded
chrome_bridge_sdk-0.5.2.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chrome-bridge-sdk 0.5.2
File Interpreter ABI Platform
chrome_bridge_sdk-0.5.2-py3-none-any.whl Python 3 none any Details

Total release size: 22.1 kB

Release files / chrome_bridge_sdk-0.5.2.tar.gz

Download URL chrome_bridge_sdk-0.5.2.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3a649256d47738c9ee4a4ef553687bcdcd991a7858d69742b01e077b8463ae0b
BLAKE2b-256 checksum
How to use checksums
50dfc16c5470827397efcc582be812893720ca61100e56d6d77e3f75da141b12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release files / chrome_bridge_sdk-0.5.2-py3-none-any.whl

Download URL chrome_bridge_sdk-0.5.2-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cad3ac1081119223598418c11134a940c21ca236b1269aa2239962863b09d275
BLAKE2b-256 checksum
How to use checksums
04cec24908c9271b5d84c0ff2aea549fe4e352047378e0872eb46399b68050fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

This release

0.5.2 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page