Run this in Chrome — free, local, and no account required.
Sometimes clicking a button isn’t the right trigger—a search box needs Enter, a repeating popup closes cleanly with Escape, an interactive gallery moves on Right arrow, or a web app submits on Ctrl+Enter / Cmd+Enter. In Tab Automation, the Press Key step dispatches real keyboard events directly to a webpage or picked element, including optional modifier keys.
Supported keys and modifiers
In the Press key card, pick one main key and toggle any combination of modifiers:
- Keys:
Escape,Tab,Enter,Space,Left,Up,Right,Down - Modifiers:
Ctrl,Alt,Shift,Meta (Cmd) - Target (optional): Leave blank to send to the page itself, or click Pick on page to focus a specific input, editor, or widget before dispatching the key.
Step-by-step: automate a keypress or shortcut
You’ll need Tab Automation installed. Custom automations and the full Dashboard are free.
- Open the webpage in Chrome and launch the Tab Automation side panel.
- Click New automation. Under Tab & startup, turn off Run in a new tab and select your tab.
- Click Add step → Press key.
- Choose your base key (for example,
EnterorEscape) and toggle any needed modifiers (Ctrl,Alt,Shift,Meta (Cmd)). - Optional: click Pick on page and choose an input or container if a specific element needs focus before the key fires (for example, submitting a comment box after Type Text).
- Click Test key to verify how the page responds right away.
- If you want the keypress repeated on a schedule—for example, closing a recurring idle modal or paging forward—turn on Repeat and set your interval.
- Click Save & run.
Common workflows using Press Key
- Close a recurring dialog cleanly: Combine Wait / Delay (Until → Appears) for a modal container with Press key (
Escape) rather than cosmetically hiding it when the overlay also disables page scrolling. - Submit forms with
Ctrl+Enter/Cmd+Enter: Follow Type Text with Press key set toEnterplus Ctrl (or Meta (Cmd) on macOS web apps) targeted at that input element. - Reverse tab navigation (
Shift+Tab) or feed stepping (Down/Space): Chain Press key inside Repeat or after a wait while the tab runs cleanly in the background.
Important limits to understand
- In-page behavior only—no Chrome browser shortcuts: Press Key uses Chrome’s debugger
Input.dispatchKeyEventinside the webpage’s own context. It does not trigger Chrome UI shortcuts likeCtrl+T,Ctrl+W,Ctrl+R, or OS-level hotkeys, so browser tabs won’t accidentally close or jump windows. - Debugger notice while attached: Like Click Element, Chrome briefly shows its debugging bar during keyboard dispatch. The automation runs without activating background tabs or stealing focus from another window, though minimized windows can pause page painting or script handling.
- 10-second target timeout: If a picked element is missing, hidden, or disabled for more than 10 seconds, the workflow pauses cleanly so you can fix the selector and resume.
- Use Type Text for typing sentences: Press Key fires single key presses and shortcuts; Type Text fills strings cleanly into form fields (with an optional Press Enter toggle built in).
For clicking controls instead of sending keys, see how to auto click a button in Chrome, or check the Press Key step reference.