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 comment on how LLM is configured
Ulrich Soeffing95ff9629811a
diff --git a/examples/use-cases/web_voyager_agent.py b/examples/use-cases/web_voyager_agent.pyindex 4ecb11c16..f57638211 100644--- a/examples/use-cases/web_voyager_agent.py+++ b/examples/use-cases/web_voyager_agent.py@@ -18,7 +18,7 @@ from browser_use.browser.context import BrowserContextWindowSize# Load environment variablesload_dotenv()-# Set LLM based on defined environment variables and enable memory if OPENAI_API_KEY is set (otherwise Memory initialization will fail)+# Set LLM based on defined environment variablesif os.getenv('OPENAI_API_KEY'):llm = ChatOpenAI(model='gpt-4o',@@ -58,7 +58,6 @@ TASK = """Find and book a hotel in Paris with suitable accommodations for a family of four (two adults and two children) offering free cancellation for the dates of February 14-21, 2025. on https://www.booking.com/"""-async def main():agent = Agent(task=TASK,