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
Scroll to text
Magnus Müller07b41da192c1
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.pyindex 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 terror_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 eventevent = browser_session.event_bus.dispatch(ScrollToTextEvent(text=text))