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
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.pyindex 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 prettyprinterfrom langchain_openai import ChatOpenAI-from browser_use_recorder import Agent+from browser_use import Agentfrom dotenv import load_dotenvfrom pyobjtojson import obj_to_jsonimport asyncio