Skip to content

browserbase/quickstart-playwright-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browserbase logo

Documentation  ·  Playground


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:

4. Run the script:

python main.py # or poetry run python main.py

Further reading

About

Clone this repository to get started with Playwright and Browserbase.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages