Skip to content

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

Import fix on custom_hooks_before_after_step.py example.

Carlos Andrés Planchón Prestes611b49ee1f04
diff --git a/examples/custom-functions/custom_hooks_before_after_step.py b/examples/custom-functions/custom_hooks_before_after_step.py
index 37b510eff..c61d24b4e 100644
--- a/examples/custom-functions/custom_hooks_before_after_step.py
+++ b/examples/custom-functions/custom_hooks_before_after_step.py
@@ -113,7 +113,7 @@ gracefully handling circular references.
# ! pip install -U prettyprinter
from langchain_openai import ChatOpenAI
-from browser_use_recorder import Agent
+from browser_use import Agent
from dotenv import load_dotenv
from pyobjtojson import obj_to_json
import asyncio