Skip to content

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

Log wait time

Magnus Müller456b86c3a373
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 45893f670..7d0575325 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -1656,6 +1656,7 @@ class Agent(Generic[Context, AgentStructuredOutput]):
# wait between actions (only after first action)
if i > 0:
+ self.logger.debug(f'Waiting {self.browser_profile.wait_between_actions} seconds between actions')
await asyncio.sleep(self.browser_profile.wait_between_actions)
try: