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
define loadstate for .navigate
Nick Sweeting65b0ed6a4ea8
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.pyindex b0e0fa1ad..58bc5d500 100644--- a/browser_use/browser/session.py+++ b/browser_use/browser/session.py@@ -1551,7 +1551,7 @@ class BrowserSession(BaseModel):@require_initializationasync def navigate(self, url: str) -> None:if self.agent_current_page:- await self.agent_current_page.goto(url)+ await self.agent_current_page.goto(url, wait_until='domcontentloaded')else:await self.create_new_tab(url)