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
remove litellm, slight speedup parser
Gregor Žunič56986f4889ad
diff --git a/requirements.txt b/requirements.txtindex 548b57f13..f43d37271 100644--- a/requirements.txt+++ b/requirements.txt@@ -5,7 +5,6 @@ beautifulsoup4==4.12.3langchain==0.3.7# langchain-core==0.3.15langchain-openai==0.2.5-litellm==1.51.3pydantic==2.9.2pytest==8.3.3pytest-asyncio==0.24.0diff --git a/src/agent/views.py b/src/agent/views.pyindex baf76a652..4e1eaf248 100644--- a/src/agent/views.py+++ b/src/agent/views.py@@ -1,8 +1,6 @@from typing import Optional-from litellm import ConfigDictfrom pydantic import BaseModel-from typing_extensions import Unpackfrom src.controller.views import ControllerActionsdiff --git a/src/dom/service.py b/src/dom/service.pyindex 61da3b376..81b6a7bf5 100644--- a/src/dom/service.py+++ b/src/dom/service.py@@ -25,7 +25,7 @@ class DomService:"""# Parse HTML content using BeautifulSoup- soup = BeautifulSoup(html_content, 'html.parser')+ soup = BeautifulSoup(html_content, 'lxml')candidate_elements: list[Tag | NavigableString] = []dom_queue = [element for element in soup.body.children] if soup.body else []