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
Remove unused observability decorator from detect_display_configuration method in profile.py
Magnus Müller2bb18c899c9d
diff --git a/browser_use/browser/profile.py b/browser_use/browser/profile.pyindex 7e47023b5..b7c9f89df 100644--- a/browser_use/browser/profile.py+++ b/browser_use/browser/profile.py@@ -10,7 +10,6 @@ from urllib.parse import urlparsefrom pydantic import AfterValidator, AliasChoices, BaseModel, ConfigDict, Field, field_validator, model_validatorfrom 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@@ -989,7 +988,6 @@ async function initialize(checkInitialized, magic) {{os.unlink(temp_zip.name)- @observe_debug(ignore_input=True, ignore_output=True, name='detect_display_configuration')def detect_display_configuration(self) -> None:"""Detect the system display size and initialize the display-related config defaults: