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; extensions, downloads/uploads APIs, video replays, bring-your-own proxies and Selenium raise SolariCompatUnsupported. 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.3.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.3.0
File Size Uploaded Provenance Actions
solari_browserbase_compat-0.3.0.tar.gz 13.8 kB Without provenance Details for solari_browserbase_compat-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 26.8 kB

Release files / solari_browserbase_compat-0.3.0.tar.gz

Download URL solari_browserbase_compat-0.3.0.tar.gz
Size 13.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a9d37e662f32c7b49a90560e35b19b5ffeca907304f542d1368b2798461d2373
BLAKE2b-256 checksum
How to use checksums
ee715df7419e3780e6ccfeff99a86830443cad0341954cb5fcb1b80d9cb6907c
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.3.0-py3-none-any.whl

Download URL solari_browserbase_compat-0.3.0-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d891070b361ef787cccfa5cd68fac4ef454127b1248d1c144c5af9c382478ba
BLAKE2b-256 checksum
How to use checksums
eb7812e8b4fb25bec0c6eb39e0d02db3edd0df1ef5b9b7dbd6905c6740303c69
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.3.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