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 example
Magnus Müller857182c04274
diff --git a/examples/integrations/agentmail/2fa.py b/examples/integrations/agentmail/2fa.pyindex 89b80caf3..cf1c0839f 100644--- a/examples/integrations/agentmail/2fa.py+++ b/examples/integrations/agentmail/2fa.py@@ -9,7 +9,7 @@ from dotenv import load_dotenvload_dotenv()-from browser_use import Agent, Browser, models+from browser_use import Agent, Browser, ChatBrowserUsefrom examples.integrations.agentmail.email_tools import EmailToolsTASK = """@@ -28,7 +28,7 @@ async def main():tools = EmailTools(email_client=email_client, inbox=inbox)# Initialize the LLM for browser-use agent- llm = models.azure_gpt_4_1_mini+ llm = ChatBrowserUse()# Set your local browser pathbrowser = Browser(executable_path='/Applications/Google Chrome.app/Contents/MacOS/Google Chrome')