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
Update browser_use/browser/session.py
Nick Sweeting2ff49d14d71a
diff --git a/browser_use/browser/session.py b/browser_use/browser/session.pyindex afb9e9576..a7ba61151 100644--- a/browser_use/browser/session.py+++ b/browser_use/browser/session.py@@ -1067,7 +1067,7 @@ class BrowserSession(BaseModel):)cookies_path = Path(self.browser_profile.cookies_file)- if (not cookies_path.is_absolute()) and not str(cookies_path).startswith('.'):+ if not cookies_path.is_absolute():cookies_path = Path(self.browser_profile.downloads_dir or '.') / cookies_pathif cookies_path.exists():