Skip to content

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

Scroll to text

Magnus Müller07b41da192c1
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py
index 52b76bd85..2f22eb8a6 100644
--- a/browser_use/tools/service.py
+++ b/browser_use/tools/service.py
@@ -823,7 +823,7 @@ You will be given a query and the markdown of a webpage that has been filtered t
error_msg = f'Failed to send keys: {str(e)}'
return ActionResult(error=error_msg)
- @self.registry.action('')
+ @self.registry.action('Scroll to text.')
async def find_text(text: str, browser_session: BrowserSession): # type: ignore
# Dispatch scroll to text event
event = browser_session.event_bus.dispatch(ScrollToTextEvent(text=text))