Skip to content

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

Wait log

Magnus Müllera4e8eebdd117
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py
index 1abc8e368..52c480712 100644
--- a/browser_use/tools/service.py
+++ b/browser_use/tools/service.py
@@ -227,7 +227,7 @@ class Tools(Generic[Context]):
# so I revert this.
actual_seconds = min(max(seconds - 3, 0), 30)
memory = f'Waited for {seconds} seconds'
- logger.info(f'🕒 waited for {actual_seconds} seconds + 3 seconds for LLM call')
+ logger.info(f'🕒 waited for {seconds} second{"" if seconds == 1 else "s"}')
await asyncio.sleep(actual_seconds)
return ActionResult(extracted_content=memory, long_term_memory=memory)