press_key
Trigger keyboard shortcuts and key combinations in real Chrome using modifiers like Ctrl, Shift, Alt, or Meta, enabling automation of copy, paste, and navigation without screenshots or CDP.
Instructions
Press key(s) with modifiers: press_key("c",["ctrl"]) = Ctrl+C, press_key("Tab",["shift"]) = Shift+Tab.…
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| ref | No | ||
| frameId | No | frameId (omit=top) | |
| modifiers | No |