Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix: unessary space removed

Kalhar Pandya6711af252fa0
diff --git a/browser_use/dom/buildDomTree.js b/browser_use/dom/buildDomTree.js
index e7360cee8..dc70ac5a6 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 viewport
if (viewportExpansion !== -1) {
- const rect = getCachedBoundingRect(node);
+ const rect = getCachedBoundingRect(node);
const style = getCachedComputedStyle(node);
// Skip viewport check for fixed/sticky elements as they may appear anywhere