Skip to content

browserbase/quickstart-puppeteer-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browserbase logo

Documentation  ·  Website


Puppeteer with Browserbase

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 Puppeteer.

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