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
Refactor observability import in browser profile module
Magnus Müller6cf09effbc76
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.pyindex a5caf17b6..9bf836227 100644--- a/browser_use/browser/profile.py+++ b/browser_use/browser/profile.py@@ -7,12 +7,12 @@ from re import Patternfrom typing import Annotated, Any, Literal, Selffrom urllib.parse import urlparse-from observability import observe_debugfrom pydantic import AfterValidator, AliasChoices, BaseModel, ConfigDict, Field, model_validatorfrom uuid_extensions import uuid7strfrom browser_use.browser.types import ClientCertificate, Geolocation, HttpCredentials, ProxySettings, ViewportSizefrom browser_use.config import CONFIG+from browser_use.observability import observe_debugfrom browser_use.utils import _log_pretty_path, loggerCHROME_DEBUG_PORT = 9242 # use a non-default port to avoid conflicts with other tools / devs using 9222