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
add emoji to timer results
Nick Sweeting831ecec1abd5
diff --git a/browser_use/utils.py b/browser_use/utils.pyindex c456b16b5..3e5a866fa 100644--- a/browser_use/utils.py+++ b/browser_use/utils.py@@ -325,9 +325,10 @@ def time_execution_async(start_time = time.time()result = await func(*args, **kwargs)execution_time = time.time() - start_time- # Only log if execution takes more than 0.25 seconds+ # Only log if execution takes more than 0.25 seconds to avoid spamming the logs+ # you can lower this threshold locally when you're doing dev work to performance optimize stuffif execution_time > 0.25:- logger.debug(f'{additional_text} Execution time: {execution_time:.2f} seconds')+ logger.debug(f'⏳ {additional_text} Execution time: {execution_time:.2f} seconds')return resultreturn wrapper