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 comment
mertunsall018de804f76f
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex d921654b8..467e72804 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -272,7 +272,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):elif controller is not None:self.tools = controllerelse:- # Exclude screenshot tool when use_vision=True+ # Exclude screenshot tool when use_vision is not autoexclude_actions = ['screenshot'] if use_vision != 'auto' else []self.tools = Tools(exclude_actions=exclude_actions, display_files_in_done_text=display_files_in_done_text)