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.1

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.1
File Size Uploaded
chrome_bridge_sdk-0.5.1.tar.gz 10.8 kB Details

Built distribution (wheel)

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

Total release size: 22.1 kB

Release files / chrome_bridge_sdk-0.5.1.tar.gz

Download URL chrome_bridge_sdk-0.5.1.tar.gz
Size 10.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6bae00f9b4d8c2b4bcf357cd0eeab080b048673fa395d0fbd9b2549373f0f6a6
BLAKE2b-256 checksum
How to use checksums
e17988cdd6356547a8ea5baaeb22fbccdda4d9038e66af795ad068ab41835243
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 14, 2026.

Transparency log

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

Download URL chrome_bridge_sdk-0.5.1-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
119228546c24cdc7fb98c4aad601101400eb512f5cd83aa32345c8a9ae988e43
BLAKE2b-256 checksum
How to use checksums
58fbe9ec5ec5ef36853a6ddebb5df68460d36416a8b254e98d1e1846a2f6dd98
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 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

0.5.2

2 release files

This release

0.5.1 This release

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