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
fix timeouterror on download
Nick Sweeting6cc01c71e6ac
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.pyindex 2998ad92d..1f1e9dd2c 100644--- a/browser_use/browser/session.py+++ b/browser_use/browser/session.py@@ -1000,7 +1000,7 @@ class BrowserSession(BaseModel):await download.save_as(download_path)logger.debug(f'⬇️ Download triggered. Saved file to: {download_path}')return download_path- except TimeoutError:+ except Exception:# If no download is triggered, treat as normal clicklogger.debug('No download triggered within timeout. Checking navigation...')await page.wait_for_load_state()