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: undeo unnecessary change
Kalhar Pandya0ea4de219088
diff --git a/browser_use/dom/buildDomTree.js b/browser_use/dom/buildDomTree.jsindex 27abb94d3..e7360cee8 100644--- a/browser_use/dom/buildDomTree.js+++ b/browser_use/dom/buildDomTree.js@@ -860,7 +860,7 @@// Early viewport check - only filter out elements clearly outside viewportif (viewportExpansion !== -1) {- const rect = (node);+ const rect = getCachedBoundingRect(node);const style = getCachedComputedStyle(node);// Skip viewport check for fixed/sticky elements as they may appear anywhere