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
Suppress specific deprecation warnings from FAISS
Max Comperatore0cb1d5e44bdc
diff --git a/browser_use/__init__.py b/browser_use/__init__.pyindex cb9b1a4e3..06b3d3917 100644--- a/browser_use/__init__.py+++ b/browser_use/__init__.py@@ -1,3 +1,11 @@+import warnings++# Suppress specific deprecation warnings from FAISS+warnings.filterwarnings('ignore', category=DeprecationWarning, module='faiss.loader')+warnings.filterwarnings('ignore', message='builtin type SwigPyPacked has no __module__ attribute')+warnings.filterwarnings('ignore', message='builtin type SwigPyObject has no __module__ attribute')+warnings.filterwarnings('ignore', message='builtin type swigvarlink has no __module__ attribute')+from browser_use.logging_config import setup_loggingsetup_logging()