Stagehand is an AI web browsing framework, fully compatible with Playwright
Get your Browserbase API Key and Project ID
.env
by adding the BROWSERBASE_API_KEY
and BROWSERBASE_PROJECT_ID
entries.Get your OpenAI/Anthropic API Key
Install Stagehand
Update your code or clone a template
BROWSERBASE_API_KEY
, BROWSERBASE_PROJECT_ID
, and OPENAI_API_KEY
environment variables to the values you copied.Inspect the completed Session