- Notifications
You must be signed in to change notification settings - Fork3
Deprecated Browserbase Python SDK
License
NotificationsYou must be signed in to change notification settings
browserbase/python-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DEPRECATED. Please refer to v1.0.0 atbrowserbase/sdk-python
Browserbase is a serverless platform for running headless browsers, it offers advanced debugging, session recordings, stealth mode, integrated proxies and captcha solving.
- Get an API key frombrowserbase.com and set it in environment variables (
BROWSERBASE_API_KEY
). - Install the required dependencies:
pip install browserbase
frombrowserbaseimportBrowserbase# Init the SDKbrowserbase=Browserbase(os.environ["BROWSERBASE_API_KEY"])# Load a webpageresult=browserbase.load("https://example.com")# Load multiple webpages (returns iterator)result=browserbase.load(["https://example.com"])# Text-only moderesult=browserbase.load("https://example.com",text_content=True)# Screenshot (returns bytes)result=browserbase.screenshot("https://example.com",full_page=True)
About
Deprecated Browserbase Python SDK
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.