Skip to main content
Glama

playwright_press_key

Automate key presses in a browser environment using Playwright. Specify a key (e.g., 'Enter', 'ArrowDown', 'a') and optionally, a CSS selector to focus the element before triggering the key press.

Instructions

Press a keyboard key

Input Schema

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/BhanuTJ93/MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server