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 cookie logging to debug
Magnus Müller2430870b9ae6
diff --git a/browser_use/browser/context.py b/browser_use/browser/context.pyindex 751090293..cfcd407dc 100644--- a/browser_use/browser/context.py+++ b/browser_use/browser/context.py@@ -1085,7 +1085,7 @@ class BrowserContext:if self.session and self.session.context and self.config.cookies_file:try:cookies = await self.session.context.cookies()- logger.info(f'Saving {len(cookies)} cookies to {self.config.cookies_file}')+ logger.debug(f'Saving {len(cookies)} cookies to {self.config.cookies_file}')# Check if the path is a directory and create it if necessarydirname = os.path.dirname(self.config.cookies_file)