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 size 0 for svg to keep them interactive
Magnus Müller3407e6079abb
diff --git a/browser_use/dom/enhanced_snapshot.py b/browser_use/dom/enhanced_snapshot.pyindex 232411c67..5919ae27a 100644--- a/browser_use/dom/enhanced_snapshot.py+++ b/browser_use/dom/enhanced_snapshot.py@@ -69,9 +69,6 @@ def _is_element_visible(scroll_y: float = 0.0,) -> bool:"""Determine if an element is visible in the current scrolled viewport."""- # Check if element has zero dimensions- if bounding_box.width <= 0 or bounding_box.height <= 0:- return False# Check CSS visibility propertiesdisplay = computed_styles.get('display', '').lower()