Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Update prompt

Magnus Müller8cbf2ff7e17b
diff --git a/examples/integrations/agentmail/2fa.py b/examples/integrations/agentmail/2fa.py
index eda3b09be..9346bfa24 100644
--- a/examples/integrations/agentmail/2fa.py
+++ b/examples/integrations/agentmail/2fa.py
@@ -15,7 +15,7 @@ load_dotenv()
TASK = """
-Go to reddit.com, create a new account (use the get_email_address), make up password and all other information, confirm the 2fa, and like latest post on r/elon subreddit.
+Go to reddit.com, create a new account (use the get_email_address), make up password and all other information, confirm the 2fa with get_latest_email, and like latest post on r/elon subreddit.
"""
@@ -30,7 +30,7 @@ async def main():
tools = EmailTools(email_client=email_client, inbox=inbox)
# Initialize the LLM for browser-use agent
- llm = models.openai_gpt_4_1_mini
+ llm = models.azure_gpt_4_1_mini
# Set your local browser path
browser = Browser(executable_path='/Applications/Google Chrome.app/Contents/MacOS/Google Chrome')