Skip to content

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

Update service.py

Nick Sweetingcb6e2a94d470
diff --git a/browser_use/controller/service.py b/browser_use/controller/service.py
index f780c3c39..19d7beed0 100644
--- a/browser_use/controller/service.py
+++ b/browser_use/controller/service.py
@@ -117,7 +117,7 @@ class Controller(Generic[Context]):
await asyncio.sleep(seconds)
return ActionResult(extracted_content=msg, include_in_memory=True)
- @self.registry.action('Wait for element to be visible', param_model=WaitForElementAction)
+ @self.registry.action('Wait for element to be visible', param_model=WaitForElementAction)
async def wait_for_element(params: WaitForElementAction, browser: BrowserContext):
"""Waits for the element specified by the CSS selector to become visible within the given timeout."""
try: