browserbase / quickstart-playwright-python
Clone this repository to get started with Playwright and Browserbase.
README
<br/>
Playwright with Browserbase
Introduction
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.
Setup
1. Install dependencies
pip install -r requirements.txt
Alternatively, we suggest using Poetry to manage your dependencies.
poetry install
2. Create .env file:
cp .env.example .env
3. Get your Browserbase API Key:
- Create an account or log in to Browserbase
- Copy your API Key and Project ID from your Settings page into the
.envfile
4. Run the script:
python main.py # or poetry run python main.py
KiloClaw - Managed 🦀 