TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

browserbase / quickstart-playwright-js-parallelism

Run Playwright tasks in parallel with Browserbase

4 1 Language: TypeScript License: MIT Updated: 2mo ago

README

Browserbase logo

Documentation  ยท  Playground

<br/>

Parallel Playwright tasks with Browserbase

This repo is a template for the Parallelization Guide.

The processBrowserbaseTasks(tasks) utility is provided to process multiple Playwright tasks in parallel by leveraging a pool of Browser instances.

Setup

1. Install dependencies and launch TypeScript in watch mode:

npm install
tsc -w

2. Get your Browserbase API Key and Project ID:

3. Run the script:

BROWSERBASE_PROJECT_ID=xxx BROWSERBASE_API_KEY=xxxx node dist/index.js

Further reading

0 AIs selected
Clear selection
#
Name
Task