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
dont wait for page responsiveness before nav
Nick Sweeting8d662c54ce40
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.pyindex 745441343..93581147a 100644--- a/browser_use/browser/session.py+++ b/browser_use/browser/session.py@@ -2741,13 +2741,6 @@ class BrowserSession(BaseModel):raise BrowserError(f'Navigation to non-allowed URL: {normalized_url}')page = await self.get_current_page()- try:- await asyncio.wait_for(page.evaluate('1'), timeout=3)- except Exception as e:- # new tab to recover- self.logger.warning(f'🚨 Page {_log_pretty_url(normalized_url)} is unresponsive, creating new tab...')- page = await self.create_new_tab(normalized_url)- returntry:await asyncio.wait_for(page.goto(normalized_url), timeout=0.1)