Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Python ai-agentsai-toolsbrowser-agentbrowser-automationbrowser-usecdpcloud-browsercomputer-useheadless-browserllmmcpplaywrightpythonremote-browserstealth-browserweb-automationweb-scraping
imports
Nick Sweeting0af8c8c0fee8
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.ymlindex f40a3f33e..43a878378 100644--- a/.github/workflows/lint.yml+++ b/.github/workflows/lint.yml@@ -39,5 +39,5 @@ jobs:- uses: astral-sh/setup-uv@v6with:enable-cache: true- - run: uv sync --dev --all-extras+ - run: uv sync --dev --all-extras # install extras for examples to avoid pyright missing imports errors- run: uv run pyrightdiff --git a/browser_use/cli.py b/browser_use/cli.pyindex e546e74ec..dfc5c1775 100644--- a/browser_use/cli.py+++ b/browser_use/cli.py@@ -1,3 +1,4 @@+# pyright: reportMissingImports=falseimport asyncioimport jsonimport loggingdiff --git a/eval/service.py b/eval/service.pyindex 1789067e4..cbf59b2ec 100644--- a/eval/service.py+++ b/eval/service.py@@ -1,3 +1,4 @@+# pyright: reportMissingImports=false# ==============================================================================================================# Documentation for this evaluation file.diff --git a/examples/browser/stealth.py b/examples/browser/stealth.pyindex 27a874fed..7b57a5186 100644--- a/examples/browser/stealth.py+++ b/examples/browser/stealth.py@@ -1,3 +1,4 @@+# pyright: reportMissingImports=falseimport asyncioimport osimport shutildiff --git a/examples/models/bedrock_claude.py b/examples/models/bedrock_claude.pyindex 15a0869e6..2e5ef44f7 100644--- a/examples/models/bedrock_claude.py+++ b/examples/models/bedrock_claude.py@@ -1,3 +1,4 @@+# pyright: reportMissingImports=false"""Automated news analysis and sentiment scoring using Bedrock.diff --git a/examples/ui/gradio_demo.py b/examples/ui/gradio_demo.pyindex d68c6416d..635f3f4ee 100644--- a/examples/ui/gradio_demo.py+++ b/examples/ui/gradio_demo.py@@ -1,3 +1,4 @@+# pyright: reportMissingImports=falseimport asyncioimport osimport sys