Skip to content

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

Clean up example

magmuellera21fe172e018
diff --git a/examples/amazon_search.py b/examples/amazon_search.py
index 8d207e338..0838f759b 100644
--- a/examples/amazon_search.py
+++ b/examples/amazon_search.py
@@ -23,11 +23,8 @@ agent = Agent(
async def main():
- history = await agent.run(max_steps=3)
- # save
- agent.save_history()
+ await agent.run(max_steps=3)
agent.create_history_gif()
- print(history)
asyncio.run(main())