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 COMPAT.md 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.
Metadata
Release files for solari-browserbase-compat 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| solari_browserbase_compat-0.1.0.tar.gz | 14.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| solari_browserbase_compat-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.2 kB
Release files / solari_browserbase_compat-0.1.0.tar.gz
| Download URL | solari_browserbase_compat-0.1.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2877b1d939bd34e50221365c922a345a974af0c7fc178e80e11f6c767a7a2352
|
|
BLAKE2b-256 checksum How to use checksums |
279d70682c3172aff2b81a193f961b6844b6311b660955d10ef8d8ad10271fb1
|
| 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.1.0-py3-none-any.whl
| Download URL | solari_browserbase_compat-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc5a8584fff262a2be9e8d9134e684a625d17e97b2c7dfddc413bc024851a553
|
|
BLAKE2b-256 checksum How to use checksums |
a21d9d3ccf443f48d4d0e00134d07a943068c9566a4db82a351a1d78db1c4632
|
| 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.1.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.