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.8.tar.gz (3.4 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.8-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for browserbase-0.0.8.tar.gz
Algorithm Hash digest
SHA256 5098aeeaa25c1576cee74b4a0f7d4587cf6cb3c51be13e764ad284a26e15c731
MD5 c69f79da37b616fcd4f296ac79ba465a
BLAKE2b-256 258aec5d330c8cb67befd9327291ccd1b8a9c518c845060c4ac76855bf2b86f3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for browserbase-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4eda4d4c3b9eb92da109b109cd798137b2f797764ddcaeab31bb95c0539a23
MD5 9fc3ba78359ad3b57756411297348833
BLAKE2b-256 ec02483a12a199983630ec719d4c88124f03f9e52c1a0f3d43483c1f6a43a95a

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