From 8887eba163cf59bf4a2d0c9af8380d0e54e2a4f1 Mon Sep 17 00:00:00 2001 From: Eduardo Severo Date: Wed, 2 Sep 2026 20:40:54 -0300 Subject: [PATCH] Refactor: rename parameter 'ref' to 'target' in screenshots.mdx --- mcp/tools/screenshots.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcp/tools/screenshots.mdx b/mcp/tools/screenshots.mdx index 3648f572ca..eb41dac540 100644 --- a/mcp/tools/screenshots.mdx +++ b/mcp/tools/screenshots.mdx @@ -11,7 +11,7 @@ Capture the current page, a specific element, or the full scrollable page. | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `type` | string | no | `png` (default) or `jpeg` | -| `ref` | string | no | Element ref to screenshot a specific element | +| `target` | string | no | Element ref to screenshot a specific element | | `fullPage` | boolean | no | Capture full scrollable page | ### Page screenshot @@ -26,7 +26,7 @@ You: Take a screenshot of the current page. ```txt You: Take a screenshot of just the login form. -→ browser_take_screenshot { ref: "e12" } +→ browser_take_screenshot { target: "e12" } → Returns: PNG image cropped to the element ```