Skip to content

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

Spelling

Magnus Müllerafbb7bf5553f
diff --git a/browser_use/agent/service.py b/browser_use/agent/service.py
index 59a3127b5..3c15f8142 100644
--- a/browser_use/agent/service.py
+++ b/browser_use/agent/service.py
@@ -75,7 +75,7 @@ Context = TypeVar('Context')
class Agent(Generic[Context]):
- @time_execution_sync('--init agent')
+ @time_execution_sync('--init (agent)')
def __init__(
self,
task: str,
diff --git a/browser_use/browser/browser.py b/browser_use/browser/browser.py
index c0f7d6d4c..9278ac34c 100644
--- a/browser_use/browser/browser.py
+++ b/browser_use/browser/browser.py
@@ -97,7 +97,7 @@ class Browser:
return self.playwright_browser
- @time_execution_async('--init browser')
+ @time_execution_async('--init (browser)')
async def _init(self):
"""Initialize the browser session"""
playwright = await async_playwright().start()