press
Simulate ordered keyboard key sequences and chords in a Chrome tab, focusing the target first, to navigate forms, trigger shortcuts, and confirm dialogs.
Instructions
Press keys or chords in order, e.g. ["Tab"], ["Control+a"], ["Meta+Shift+K"], ["ArrowDown","Enter"]. target is focused first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab | No | Tab id such as "t3"; default is the active tab | |
| keys | Yes | ||
| target | No | ||
| snapshot | No | true attaches a full-page snapshot after the effect summary; false skips the viewport snapshot attached when the action opens a new document (call snapshot for the whole page) |