Skip to content

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

Spelling

Magnus Müllerc54b4efab541
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 4943f5b4e..5bd078295 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -863,7 +863,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):
msg += '\nIf the task could not be completed due to the failures, set success in "done" to false!'
msg += '\nInclude everything you found out for the task in the done text.'
- self.logger.debug('Force done action, becasue we reached max_failures.')
+ self.logger.debug('Force done action, because we reached max_failures.')
self._message_manager._add_context_message(UserMessage(content=msg))
self.AgentOutput = self.DoneAgentOutput