You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -838,6 +842,11 @@ After starting, point the web SDK at ws://127.0.0.1:<port>.""",
838
842
{"name":"get_session_storage", "description":"Get all sessionStorage key-value pairs", "inputSchema": {"type":"object", "properties": {}}},
839
843
{"name":"type_text", "description":"Type text character by character (realistic typing simulation)", "inputSchema": {"type":"object", "properties": {"text": {"type":"string"}}, "required": ["text"]}},
{"name":"highlight_element", "description":"Highlight an element with a colored overlay for visual debugging. Injects a temporary colored border+background on the matched element.", "inputSchema": {"type":"object", "properties": {"key": {"type":"string", "description":"CSS selector, element ID, or data-testid"}, "ref": {"type":"string", "description":"Element ref from snapshot"}, "color": {"type":"string", "description":"Highlight color (default: red)", "default":"red"}, "duration_ms": {"type":"integer", "description":"How long to show highlight in ms (default: 3000)", "default":3000}}, "required": ["key"]}},
846
+
{"name":"mock_response", "description":"Mock/intercept network responses for a URL pattern. Returns custom status code and body for matching requests.", "inputSchema": {"type":"object", "properties": {"url_pattern": {"type":"string", "description":"URL pattern to match (glob)"}, "status_code": {"type":"integer", "description":"HTTP status code to return"}, "body": {"type":"string", "description":"Response body to return"}, "headers": {"type":"object", "description":"Response headers"}}, "required": ["url_pattern", "status_code", "body"]}},
847
+
{"name":"download_file", "description":"Download a file from a URL and save it to disk.", "inputSchema": {"type":"object", "properties": {"url": {"type":"string", "description":"URL to download"}, "save_path": {"type":"string", "description":"Local file path to save to"}}, "required": ["url", "save_path"]}},
848
+
{"name":"cancel_operation", "description":"Cancel a running long operation (wait_for_element, wait_for_gone, wait_for_network_idle) by operation ID.", "inputSchema": {"type":"object", "properties": {"operation_id": {"type":"string", "description":"ID of the operation to cancel"}}, "required": ["operation_id"]}},
849
+
{"name":"highlight_elements", "description":"Toggle colored outlines on ALL interactive elements (like Playwright's inspector). Useful for visual debugging and test development.", "inputSchema": {"type":"object", "properties": {"show": {"type":"boolean", "description":"true to show highlights, false to remove them", "default":true}}}},
841
850
842
851
// Basic Inspection
843
852
{
@@ -2737,6 +2746,45 @@ function toggleImg(el) { el.classList.toggle('expanded'); }
0 commit comments