Skip to main content

solari-browserbase-compat

A Browserbase-shaped Python SDK for Solari Browser: change the import and the key, keep your code.

pip install solari-browserbase-compat
import os
from solari_browserbase import Browserbase
from playwright.sync_api import sync_playwright

bb = Browserbase(api_key=os.environ["SOLARI_API_KEY"])  # slr_… key
session = bb.sessions.create()
with sync_playwright() as p:
    browser = p.chromium.connect_over_cdp(session.connect_url)
    page = browser.contexts[0].pages[0] if browser.contexts[0].pages else browser.contexts[0].new_page()
    page.goto("https://example.com")
    browser.close()
bb.sessions.update(session.id, status="REQUEST_RELEASE")

Sessions, contexts, live view and recording are supported. Every other Browserbase resource and method exists but raises SolariCompatUnsupported naming it (extensions, secrets, webhooks, projects, downloads/uploads APIs, video replays, bring-your-own proxies, Selenium, ...). See docs.getsolari.com/browserbase (and COMPAT.md in this package) for the full list and every difference. Python 3.9+. No Playwright version pin is needed: connect_url is a plain CDP endpoint.

Licence: MIT. See NOTICE.

This is an independent project. It is not affiliated with, endorsed by, or sponsored by Browserbase, Inc. "Browserbase" is a trademark of its owner and is used here only to describe API compatibility.

Metadata

Release files for solari-browserbase-compat 0.4.0

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

Source distribution (sdist)

Source distribution for solari-browserbase-compat 0.4.0
File Size Uploaded Provenance Actions
solari_browserbase_compat-0.4.0.tar.gz 21.9 kB Without provenance Details for solari_browserbase_compat-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for solari-browserbase-compat 0.4.0
File Interpreter ABI Platform Actions
solari_browserbase_compat-0.4.0-py3-none-any.whl Python 3 none any Details for solari_browserbase_compat-0.4.0-py3-none-any.whl

Total release size: 45.7 kB

Release files / solari_browserbase_compat-0.4.0.tar.gz

Download URL solari_browserbase_compat-0.4.0.tar.gz
Size 21.9 kB
Tags Source
SHA-256 checksum
How to use checksums
814bb34b4045c51115b674805cce70239ba2ec25d13f0268bf397466c09c3250
BLAKE2b-256 checksum
How to use checksums
6846e2d32efdf8307bdd7eaf473a5fdab44ec980ccc0d83a83e09989f28e76e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / solari_browserbase_compat-0.4.0-py3-none-any.whl

Download URL solari_browserbase_compat-0.4.0-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5be3421a5ec17f04b712ea30a6d4d8dd0a2b168fb922f137974cc57f327efbb4
BLAKE2b-256 checksum
How to use checksums
37757270700a255f00accd9112a77d2575fc09de943868b28b648f934f3a90e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for solari-browserbase-compat 0.4.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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