Skip to main content
Glama

browser_press_key

Simulate keyboard key presses in a real browser for automation tasks. Press single keys like Enter or Tab, or use modifiers for combinations like Ctrl+A.

Instructions

Press a keyboard key or combination (Enter, Escape, Tab, ArrowDown, etc). Supports modifiers like Ctrl+A, Cmd+C.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesKey name (e.g. "Enter", "Escape", "Tab", "ArrowDown", "a")
modifiersNoModifier keys to hold
refNoElement ref to focus before pressing
selectorNoCSS selector to focus before pressing

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/ofershap/real-browser-mcp'

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