Skip to content

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

Include lmnr debug

Magnus Müllerbb62b9d6094c
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.py
index 17b5b7667..c8afaf964 100644
--- a/browser_use/browser/session.py
+++ b/browser_use/browser/session.py
@@ -837,6 +837,7 @@ class BrowserSession(BaseModel):
atexit.register(shudown_playwright)
+ @observe_debug(ignore_input=True, ignore_output=True, name='setup_browser_via_passed_objects')
async def setup_browser_via_passed_objects(self) -> None:
"""Override to customize the set up of the connection to an existing browser"""