Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

add library bug report

Nick Sweetingbc90660e9182
diff --git a/.github/ISSUE_TEMPLATE/2_bug_report.yml b/.github/ISSUE_TEMPLATE/2_bug_report.yml
index ae2caa0e1..ffef7ec75 100644
--- a/.github/ISSUE_TEMPLATE/2_bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/2_bug_report.yml
@@ -1,50 +1,50 @@
-name: 🐛 Bug Report
-description: Report a bug in browser-use
+name: 🐛 Library Bug Report
+description: Report a bug in the browser-use Python library
labels: ["bug", "triage"]
body:
- - type: markdown
- attributes:
- value: |
- Thanks for taking the time to fill out this bug report! Please fill out the form below to help us reproduce and fix the issue.
+ # - type: markdown
+ # attributes:
+ # value: |
+ # Thanks for taking the time to fill out this bug report! Please fill out the form below to help us reproduce and fix the issue.
- - type: textarea
- id: description
+ - type: input
+ id: version
attributes:
- label: Bug Description
- description: A clear and concise description of what the bug is.
- placeholder: When I try to... the library...
+ label: Browser Use Version
+ description: What version of the `browser-use` library are you using? (Run `uv pip show browser-use` or `git log -n 1` to find out) **DO NOT JUST WRITE `latest version` or `main`**
+ placeholder: "e.g. 0.4.45 or 62760baaefd"
validations:
required: true
- type: textarea
- id: reproduction
+ id: description
attributes:
- label: Reproduction Steps
- description: Steps to reproduce the behavior
+ label: Bug Description, Steps to Reproduce, Screenshots
+ description: A clear and concise description of what the bug is + steps taken.
placeholder: |
- 1. Install browser-use...
- 2. Run the following task...
- 3. See error...
+ 1. Installed browser-use library using `uv pip install browser-use`
+ 2. Installed the browser using `playwright install chromium --with-deps`
+ 2. Ran the code below with the following prompt: "go to example.com and do xyz..."
+ 3. Agent crashes and shows the following error: ...
validations:
required: true
- type: textarea
id: code
attributes:
- label: Code Sample
- description: Include a minimal code sample that reproduces the issue
+ label: Failing Python Code
+ description: Include the exact python code you ran that encountered the issue
render: python
- validations:
- required: true
+ placeholder: |
+ from dotenv import load_dotenv
+ load_dotenv()
+ from browser_use import Agent, Browser, Controller
+ from langchain_openai import ChatOpenAI
- - type: input
- id: version
- attributes:
- label: Version
- description: What version of browser-use are you using? (Run `uv pip show browser-use` to find out)
- placeholder: "e.g., pip 0.1.26, or git main branch"
- validations:
- required: true
+ llm = ChatOpenAI(model="gpt-4o")
+ browser = Browser(chrome_binary_path='/usr/bin/google-chrome')
+ agent = Agent(llm=llm, browser=browser))
+ ...
- type: dropdown
id: model
@@ -53,15 +53,20 @@ body:
description: Which LLM model(s) are you using?
multiple: true
options:
- - GPT-4o
- - GPT-4
- - Claude 3.5 Sonnet
- - Claude 3.5 Opus
- - Claude 3.5 Haiku
- - Gemini 1.5 Pro
- - Gemini 1.5 Ultra
- - Fireworks Mixtral
- - DeepSeek Coder
+ - gpt-4o
+ - gpt-4o-mini
+ - gpt-4
+ - gpt-4.1
+ - gpt-4.1-mini
+ - gpt-4.1-nano
+ - claude-3.7-sonnet
+ - claude-3.5-sonnet
+ - gemini-2.6-flash-preview
+ - gemini-2.5-pro
+ - gemini-2.0-flash
+ - gemini-2.0-flash-lite
+ - gemini-1.5-flash
+ - deepseek-chat
- Local Model (Specify model in description)
- Other (specify in description)
validations:
@@ -79,6 +84,15 @@ body:
- type: textarea
id: logs
attributes:
- label: Relevant Log Output
- description: Please copy and paste any relevant log output. This will be automatically formatted into code.
+ label: Full DEBUG Log Output
+ description: Please copy and paste the *full* log output *from the start of the run*. Make sure to set `BROWSER_USE_LOG_LEVEL=DEBUG` in your `.env` or shell environment.
render: shell
+ placeholder: |
+ $ python /app/browser-use/examples/browser/real_browser.py
+ DEBUG [browser] 🌎 Initializing new browser
+ DEBUG [agent] Version: 0.1.46-9-g62760ba, Source: git
+ INFO [agent] 🧠 Starting an agent with main_model=gpt-4o +tools +vision +memory, planner_model=None, extraction_model=gpt-4o
+ DEBUG [agent] Verifying the ChatOpenAI LLM knows the capital of France...
+ DEBUG [langsmith.client] Sending multipart request with context: trace=91282a01-6667-48a1-8cd7-21aa9337a580,id=91282a01-6667-48a1-8cd7-21aa9337a580
+ DEBUG [agent] 🪪 LLM API keys OPENAI_API_KEY work, ChatOpenAI model is connected & responding correctly.
+ ...