Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Remove logging of done action not being executed in multiact

mertunsalle99d8f163579
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index ee79df773..54b315182 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -1621,7 +1621,6 @@ class Agent(Generic[Context]):
if i > 0 and action.model_dump(exclude_unset=True).get('done') is not None:
msg = f'Done action is allowed only as a single action - stopped after action {i} / {len(actions)}.'
logger.info(msg)
- results.append(ActionResult(extracted_content=msg, include_in_memory=True, memory=msg))
break
if action.get_index() is not None and i != 0: