workflowstacks
devtools

browser-use: Automate Web Tasks

Founders use browser-use to automate online tasks with ease, ideal for startups needing AI-powered browser automation.
107,682 stars11,831 forksPythonHealth Score 9/10Updated 8/3/2026100% free · open source
What it does

Browser-use automates online tasks with ease by providing a Python library to control a browser, ideal for startups needing AI-powered browser automation.

Install / run
pip install browser-use
When to use it
  • When you need to automatically fill out forms on a website
  • When you want to scrape data from a website that uses JavaScript
  • When you need to automate user interactions on a website for testing or datacollection
Quick start
  1. 1Import the library in your Python script with `from browser_use import Browser`
  2. 2Create a new browser instance with `browser = Browser()`
  3. 3Navigate to a website with `browser.get('https://www.example.com')`
  4. 4Perform an action on the website with `browser.find_element_by_css_selector('#element').click()`
  5. 5Close the browser with `browser.quit()`
Ready-to-paste prompt
browser.get('https://www.example.com/form')
browser.find_element_by_name('username').send_keys('your_username')
browser.find_element_by_name('password').send_keys('your_password')
browser.find_element_by_name('submit').click()
Heads up: Make sure you have the correct version of Chrome or Firefox installed, as browser-use is built on top of Selenium and requires a compatible browser version
Saves to your device

Topics

ai-agents
ai-tools
browser-automation
browser-use
llm
playwright
python
How browser-use: Automate Web Tasks works
Codeflow
Free to inspect

Browser-use: Automate Web Tasks is a very large Python project (~101k lines across 389 code files). It is a full software project: use it through its install path rather than reading it end to end. Last commit this month, MIT license, has a test suite.

Size
Very large codebase
~101k lines · 389 code files · days to read — use, don't read
Setup
Developer setup
A real software project. Use it via its install path; don't expect to read it all.
Runs on
Python · Docker
Needs API keys (.env)
Python 99%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    AGENTS.md
    The instructions the AI actually follows
  3. 3
    browser_use/cli.py
    Where the program starts running
  4. 4
    pyproject.toml
    Dependencies and the commands it exposes
  5. 5
    .env.example
    The API keys and settings you must provide
What's in each folder
browser_use/Core code — the actual logic184 files
examples/Examples you can copy124 files
tests/Tests — proof it works111 files
skills/Prompts, skills & agent definitions27 files
.github/CI / automation (GitHub Actions)19 files
docker/Deployment / infrastructure5 files
static/Images & static assets5 files
bin/Command-line entry points3 files
READMEHas testsDocumentedCI checksDocker readyExamples includedMIT licenseUpdated this month
Quick Actions
Details
Creator
browser-use
Language
Python
Category
devtools
Published
10/31/2024

Are you the creator of this tool? Claim your listing → and earn 85% of every sale.