Skip to content

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

comment linting issue

Saurav Panda4857d190e3db
diff --git a/browser_use/browser/watchdogs/default_action_watchdog.py b/browser_use/browser/watchdogs/default_action_watchdog.py
index 2b8e1f622..d2eb1c96e 100644
--- a/browser_use/browser/watchdogs/default_action_watchdog.py
+++ b/browser_use/browser/watchdogs/default_action_watchdog.py
@@ -3411,7 +3411,9 @@ class DefaultActionWatchdog(BaseWatchdog):
for opt in available_options
)
if all_empty:
- self.logger.info('⚠️ All dropdown options are empty — options may be lazily loaded. Focusing element and retrying...')
+ self.logger.info(
+ '⚠️ All dropdown options are empty — options may be lazily loaded. Focusing element and retrying...'
+ )
# Use element.focus() only — no synthetic mouse events that leak isTrusted=false
try: