Skip to content

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

Screenshot msg

Magnus Müller219224af69c2
diff --git a/browser_use/tools/service.py b/browser_use/tools/service.py
index f0615e393..a1af31c8a 100644
--- a/browser_use/tools/service.py
+++ b/browser_use/tools/service.py
@@ -845,7 +845,7 @@ You will be given a query and the markdown of a webpage that has been filtered t
)
@self.registry.action(
- 'Request screenshot of current viewport. Use when: visual inspection needed, layout unclear, element positions uncertain, debugging UI issues, or verifying page state. Screenshot is included in the next browser_state.',
+ 'Get a screenshot of the current viewport. Use when: visual inspection needed, layout unclear, element positions uncertain, debugging UI issues, or verifying page state. Screenshot is included in the next browser_state No parameters are needed.',
)
async def screenshot(_: NoParamsAction):
"""Request that a screenshot be included in the next observation"""