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.
uv sync
uv run playwright install chromiumcp .env.example .env- Create an account or log in to Browserbase
- Copy your API Key from your Settings page into the
.envfile
uv run python main.py