mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 15:18:29 +00:00
931 B
931 B
BrowserbaseLoadTool
Description
Browserbase is a serverless platform for running headless browsers, it offers advanced debugging, session recordings, stealth mode, integrated proxies and captcha solving.
Installation
- Get an API key from browserbase.com and set it in environment variables (
BROWSERBASE_API_KEY). - Install the Browserbase SDK along with
crewai[tools]package:
pip install browserbase 'crewai[tools]'
Example
Utilize the BrowserbaseLoadTool as follows to allow your agent to load websites:
from crewai_tools import BrowserbaseLoadTool
tool = BrowserbaseLoadTool()
Arguments
api_key: Optional. Specifies Browserbase API key. Defaults is theBROWSERBASE_API_KEYenvironment variable.text_content: Optional. Load pages as readable text. Default isFalse.