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
less margin
2pac268315d2c39e
diff --git a/browser_use/dom/dom_tree/index.js b/browser_use/dom/dom_tree/index.jsindex 9c6a9dd5f..198a56283 100644--- a/browser_use/dom/dom_tree/index.js+++ b/browser_use/dom/dom_tree/index.js@@ -843,7 +843,7 @@}}- const margin = 10;+ const margin = 5;const rect = rects[Math.floor(rects.length / 2)];// For elements in viewport, check if they're topmost. Do the check in the