Skip to main content

Browserbase Python SDK

Project description

Browserbase Python SDK

Example usage:

pip install browserbase
from browserbase import Browserbase

# Init the SDK
browserbase = Browserbase(os.environ["BROWSERBASE_KEY"])

# Load a webpage
result = browserbase.load("https://example.com")

# Load multiple webpages (returns iterator)
result = browserbase.load(["https://example.com"])

# Text-only mode
result = browserbase.load("https://example.com", text_content=True)

# Screenshot (returns bytes)
result = browserbase.screenshot("https://example.com", full_page=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

browserbase-0.0.7.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

browserbase-0.0.7-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file browserbase-0.0.7.tar.gz.

File metadata

  • Download URL: browserbase-0.0.7.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for browserbase-0.0.7.tar.gz
Algorithm Hash digest
SHA256 436ee19845d2ac26d3af08bd5c8771d1df84a3b51132997bcda800c204851267
MD5 f22b7f55b8d4844d1e91b0233823545b
BLAKE2b-256 47092d7094ad67ddb678319563c77765ef4c76ca10b9a52af376f75107eb1d4e

See more details on using hashes here.

File details

Details for the file browserbase-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: browserbase-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for browserbase-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 163923490575c6dfeccd079a3e27c47fc3e051ab7d3888a04f631966b32de309
MD5 4a00844fe6b67942d0bf1a59a5268735
BLAKE2b-256 17d80e9bb2f2db3f87258edc54499117a52f754932589cf706b1ed80121e5186

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page