Browserbase is the best developer platform to reliably run, manage, and monitor headless browsers.
Get browsers' complete control and leverage Browserbase's Infrastructure, Stealth Mode, and Session Debugger to power your automation, test suites, and LLM data retrievals.
Get started in under one minute with Playwright.
pip install -r requirements.txt
- Create an account or log in to Browserbase
- Copy your API Key from your Settings page
BROWSERBASE_API_KEY=xxxx python main.py