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
Remove comment
Magnus Müller833ad7128d77
diff --git a/browser_use/browser/python_highlights.py b/browser_use/browser/python_highlights.pyindex d981ae5a8..1c3c354d6 100644--- a/browser_use/browser/python_highlights.py+++ b/browser_use/browser/python_highlights.py@@ -98,7 +98,7 @@ def draw_enhanced_bounding_box_with_text(try:# Scale font size for appropriate sizing across different resolutionsimg_width, img_height = image_size- # Convert to CSS pixels by dividing by device pixel ratio+css_width = img_width # / device_pixel_ratio# Much smaller scaling - 1% of CSS viewport width, max 16px to prevent huge highlightsbase_font_size = max(10, min(20, int(css_width * 0.01)))