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
fix: update version retrieval method to use importlib.metadata
Zack A9fbc66911492
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 3c8ff6d0d..f45c7e673 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -326,9 +326,9 @@ class Agent(Generic[Context]):source = 'git'else:# If no repo files found, try getting version from pip- import pkg_resources+ from importlib.metadata import version- version = pkg_resources.get_distribution('browser-use').version+ version = version('browser-use')source = 'pip'except Exception:version = 'unknown'