Press keys

Send keyboard keys and shortcuts to the page: Enter to submit, Escape to close a modal, Tab to move focus, or combinations like Ctrl+A.

Send one or more keyboard keys to the page: Enter to submit a form, Escape to close a modal, Tab to move focus, or shortcuts like Ctrl+A. In the builder you record the keys in a small keyboard modal: press the keys you want to send, and they are stored in order.

Parameters

ParameterRequiredDescription
KeysYesThe keys to press, recorded in the keyboard modal and sent in order.
Ignore error on this stepNoThe run continues with the next step if this one fails. Default: off.

This step does not target an element: the keys go to whatever currently has focus. Use Click or Fill input first to set the focus.

Results and metrics

  • Timing: start, end, and duration (in seconds) recorded in the step result.
  • Status: success, warning, or failed, with the error message on failure.
  • Screenshot: captured after the keys are sent.

What's next?

Fill input

Type text into a field before pressing Enter

Verify element

Check what the key press changed on the page

Last updated on