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
change to warnings
mertunsall699d14c96874
diff --git a/browser_use/browser/watchdogs/default_action_watchdog.py b/browser_use/browser/watchdogs/default_action_watchdog.pyindex ebc8ef091..065e72225 100644--- a/browser_use/browser/watchdogs/default_action_watchdog.py+++ b/browser_use/browser/watchdogs/default_action_watchdog.py@@ -513,7 +513,7 @@ class DefaultActionWatchdog(BaseWatchdog):# Navigation is handled by BrowserSession via eventsreturn Noneexcept Exception as js_e:- self.logger.error(f'CDP JavaScript click also failed: {js_e}')+ self.logger.warning(f'CDP JavaScript click also failed: {js_e}')if 'No node with given id found' in str(js_e):raise Exception('Element with given id not found')else:@@ -676,7 +676,7 @@ class DefaultActionWatchdog(BaseWatchdog):return Noneexcept Exception as js_e:- self.logger.error(f'CDP JavaScript click also failed: {js_e}')+ self.logger.warning(f'CDP JavaScript click also failed: {js_e}')raise Exception(f'Failed to click element: {e}')finally:# Always re-focus back to original top-level page session context in case click opened a new tab/popup/window/dialog/etc.