/quickstart-playwright-python-parallelism

Run Playwright tasks in parallel with Browserbase

Primary LanguagePythonMIT LicenseMIT

Browserbase logo

Documentation  ·  Playground


Parallel Playwright tasks with Browserbase

This repo is a Python template for the Parallelization Guide.

Setup

1. Install dependencies and launch TypeScript in watch mode:

pip install -r requirements.txt

2. Get your Browserbase API Key and Project ID:

3. Run the script:

BROWSERBASE_API_KEY=xxxx python main.py

Further reading