📸 ScreenshotsMCP

browser_press_key

Simulate keyboard key presses for navigation, form submission, and shortcuts.

Parameters

ParameterTypeRequiredDescription
sessionIdstringYesSession ID from browser_navigate
keystringYesKey to press (e.g. Enter, Tab, Escape, ArrowDown)

Supported Keys

KeyDescription
EnterSubmit forms, confirm actions
TabMove focus to next element
EscapeClose modals, cancel actions
ArrowDown / ArrowUpNavigate lists, dropdowns
BackspaceDelete text
Control+aSelect all (use Meta+a on macOS)
Control+c / Control+vCopy / Paste

Example

Press Enter to submit the form

Notes

  • Supports modifier keys: Control+key, Shift+key, Alt+key, Meta+key
  • Returns a screenshot after the key press

On this page