Skip to content

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

Log nth error

magmueller2ae630697f93
diff --git a/browser_use/telemetry/views.py b/browser_use/telemetry/views.py
index c1dea1edd..2b4de4149 100644
--- a/browser_use/telemetry/views.py
+++ b/browser_use/telemetry/views.py
@@ -34,6 +34,7 @@ class AgentStepTelemetryEvent(BaseTelemetryEvent):
agent_id: str
step: int
step_error: list[str]
+ consecutive_failures: int
actions: Optional[list[ActionModel]] = None
name: str = 'agent_step'