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/cloud.py
Saurav Pandaf208e9ecee1b
diff --git a/browser_use/browser/cloud.py b/browser_use/browser/cloud.pyindex 3377b8bb5..8b71e3394 100644--- a/browser_use/browser/cloud.py+++ b/browser_use/browser/cloud.py@@ -174,7 +174,7 @@ class CloudBrowserClient:'Authentication failed. Please make sure you have set the BROWSER_USE_API_KEY environment variable to authenticate with the cloud service.')elif response.status_code == 404:- # Session already stopped or doesn't exist - not an error+ # Session already stopped or doesn't exist - treating as error and clearing sessionlogger.debug(f'🌤️ Cloud browser session {session_id} not found (already stopped)')# Clear current session if it was this oneif session_id == self.current_session_id: