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
Include more info in state
Magnus Müller88896c05b78e
diff --git a/browser_use/dom/serializer/serializer.py b/browser_use/dom/serializer/serializer.pyindex 9d9b87ee9..b3a749668 100644--- a/browser_use/dom/serializer/serializer.py+++ b/browser_use/dom/serializer/serializer.py@@ -320,6 +320,6 @@ class DOMTreeSerializer:del attributes_to_include[attr]if attributes_to_include:- return ' '.join(f'{key}={cap_text_length(value, 15)}' for key, value in attributes_to_include.items())+ return ' '.join(f'{key}={cap_text_length(value, 100)}' for key, value in attributes_to_include.items())return ''