Skip to content

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

Update task description in simple.py to specify a one-way flight search in 3 weeks instead of a round trip on a specific date.

Magnus Müllerd401cc77abaf
diff --git a/examples/simple.py b/examples/simple.py
index de29003ba..c42bd1dda 100644
--- a/examples/simple.py
+++ b/examples/simple.py
@@ -17,8 +17,7 @@ llm = ChatOpenAI(
model='gpt-4o',
temperature=0.0,
)
-task = 'Go to kayak.com and find the cheapest flight from Zurich to San Francisco on 2025-05-01'
-
+task = 'Go to kayak.com and find the cheapest one-way flight from Zurich to San Francisco in 3 weeks.'
agent = Agent(task=task, llm=llm)