Skip to content

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

add note

Nick Sweetinga254d654a869
diff --git a/browser_use/browser/default_action_watchdog.py b/browser_use/browser/default_action_watchdog.py
index a4704fc43..5eaeb1203 100644
--- a/browser_use/browser/default_action_watchdog.py
+++ b/browser_use/browser/default_action_watchdog.py
@@ -268,8 +268,10 @@ class DefaultActionWatchdog(BaseWatchdog):
},
session_id=session_id,
)
+
+ # TODO: do occlusion detection, if element is not on the top, fire JS-based click event instead of x,y coordinate clicking
- # Handle download if expected
+ # Handle download if expected: should be handled by downloads_watchdog.py now using browser-level download event listeners
# if self.browser_session.browser_profile.downloads_path:
# try:
# # Wait for download to start (with timeout)