AI Vision Debug MCP Server

playwright_press_key

Simulate keyboard key presses on web elements, optionally focusing on a specific UI element first, to facilitate UI testing and automation with AI vision capabilities.

Instructions

Press a keyboard key (optionally focusing an element first)

Input Schema

NameRequiredDescriptionDefault
keyYesKey to press (e.g. 'Enter', 'ArrowDown', 'a')
selectorNoOptional CSS selector to focus before pressing key

Input Schema (JSON Schema)

{ "properties": { "key": { "description": "Key to press (e.g. 'Enter', 'ArrowDown', 'a')", "type": "string" }, "selector": { "description": "Optional CSS selector to focus before pressing key", "optional": true, "type": "string" } }, "required": [ "key" ], "type": "object" }
ID: lbb1el5owd