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
Linter
Magnus Müllerf0c7e9787cb6
diff --git a/browser_use/dom/serializer/serializer.py b/browser_use/dom/serializer/serializer.pyindex a122e70fe..3d2f7e90a 100644--- a/browser_use/dom/serializer/serializer.py+++ b/browser_use/dom/serializer/serializer.py@@ -1052,7 +1052,7 @@ class DOMTreeSerializer:# Special handling for form elements - ensure current value is shown# For text inputs, textareas, and selects, prioritize showing the current value from AX treeif node.tag_name and node.tag_name.lower() in ['input', 'textarea', 'select']:- # ALWAYS check AX tree - it reflects actual typed value, DOM attribute may not update+ # ALWAYS check AX tree - it reflects actual typed value, DOM attribute may not updateif node.ax_node and node.ax_node.properties:for prop in node.ax_node.properties:# Try valuetext first (human-readable display value)