Skip to main content

Module key

Module key 

Source
Expand description

browser-control key — press a key on the focused element.

Page-context command. The key goes to whatever currently has focus, so it addresses a tab rather than an element; focus something first (MCP browser_click, or Tab your way there).

Native on both engines — CDP Input.dispatchKeyEvent, BiDi input.performActions — so no Node and no Playwright sidecar.

Functions§

run