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
Fix memory
Magnus Müller74f0c25b8eb5
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.pyindex 89efd5fb2..ef90026ad 100644--- a/browser_use/tools/service.py+++ b/browser_use/tools/service.py@@ -258,10 +258,6 @@ class Tools(Generic[Context]):click_metadata = await event.event_result(raise_if_any=True, raise_if_none=False)memory = 'Clicked element'- # Check if a new tab was opened (from watchdog metadata)- if isinstance(click_metadata, dict) and click_metadata.get('new_tab_opened'):- memory += ' - which opened a new tab'-msg = f'🖱️ {memory}'logger.info(msg)