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
Fixed missing text input detection in DOM parsing
Kalhar Pandya2570b331084b
diff --git a/browser_use/dom/buildDomTree.js b/browser_use/dom/buildDomTree.jsindex 539c76225..27abb94d3 100644--- a/browser_use/dom/buildDomTree.js+++ b/browser_use/dom/buildDomTree.js@@ -775,8 +775,8 @@element.hasAttribute("role") ||element.hasAttribute("tabindex") ||element.hasAttribute("aria-") ||- element.hasAttribute("data-action");-+ element.hasAttribute("data-action") ||+ element.getAttribute("contenteditable") == "true";return hasQuickInteractiveAttr;}@@ -860,7 +860,7 @@// Early viewport check - only filter out elements clearly outside viewportif (viewportExpansion !== -1) {- const rect = getCachedBoundingRect(node);+ const rect = (node);const style = getCachedComputedStyle(node);// Skip viewport check for fixed/sticky elements as they may appear anywhere