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
feat: add CDP URL to Agent Telemetry events
reformedot9841f4080cde
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.pyindex c9513fdc7..ac8071e2e 100644--- a/browser_use/agent/service.py+++ b/browser_use/agent/service.py@@ -1039,6 +1039,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):use_validation=self.settings.validate_output,version=self.version,source=self.source,+ cdp_url=self.browser_session.cdp_url if self.browser_session else None,action_errors=self.state.history.errors(),action_history=action_history_data,urls_visited=self.state.history.urls(),diff --git a/browser_use/telemetry/views.py b/browser_use/telemetry/views.pyindex e3f192dba..cbae9162c 100644--- a/browser_use/telemetry/views.py+++ b/browser_use/telemetry/views.py@@ -29,6 +29,7 @@ class AgentTelemetryEvent(BaseTelemetryEvent):use_validation: boolversion: strsource: str+ cdp_url: str | None# step detailsaction_errors: Sequence[str | None]action_history: Sequence[list[dict] | None]