Browserbase is the best developer platform to reliably run, manage, and monitor headless browsers.
Get browsers' full 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.
npm install- Create an account or log in to Browserbase
- Copy your API Key and Project ID from the Dashboard
- Create a
.envfile:
cp .env.example .env- Add your API Key and Project ID to the
.envfile.
npm start