/quickstart-selenium-js

Clone this repository to get started with Selenium and Browserbase.

Primary LanguageTypeScriptMIT LicenseMIT

Browserbase logo

Documentation  ·  Playground


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

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