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
type-safe-element-element
Magnus Müller9ae7144e5a2e
diff --git a/browser_use/browser/python_highlights.py b/browser_use/browser/python_highlights.pyindex 175d5085a..a8b741afa 100644--- a/browser_use/browser/python_highlights.py+++ b/browser_use/browser/python_highlights.py@@ -12,7 +12,7 @@ import osfrom PIL import Image, ImageDraw, ImageFont-from browser_use.dom.views import DOMSelectorMap+from browser_use.dom.views import DOMSelectorMap, EnhancedDOMTreeNodefrom browser_use.observability import observe_debugfrom browser_use.utils import time_execution_async@@ -339,7 +339,7 @@ def draw_bounding_box_with_text(def process_element_highlight(element_id: int,- element,+ element: EnhancedDOMTreeNode,draw,device_pixel_ratio: float,font,