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
Enable multiact break
Magnus Müllerd6f646a450c7
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex 931bfa197..cc7291d9c 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -1645,7 +1645,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):# DOM synchronization check - verify element indexes are still valid AFTER first action# This prevents stale element detection but doesn't refresh before execution- if False and action.get_index() is not None and i != 0:+ if action.get_index() is not None and i != 0:new_browser_state_summary = await self.browser_session.get_browser_state_summary(include_screenshot=False,)