Back to all steps

Press key

Step fields
1 selector (text)
2 Enter, Tab, ArrowDown... (text)
In a scenario, fields are joined with |.
Press a key while focused on an element. Format: selector|key.
Examples: input[name=q]|Enter · body|Escape · #editor|Control+a · #list|ArrowDown
Usage example

Press a keyboard key while focus is on the given element.

Format: selector|key

Supported keys: Enter, Tab, Escape, Backspace, Delete, ArrowUp, ArrowDown, ArrowLeft, ArrowRight, Home, End, PageUp, PageDown, Space.

Combinations: Control+a, Control+c, Shift+Tab, Meta+v (Cmd+V on Mac).

Examples:

  • input[name=q]|Enter — submit a search query
  • body|Escape — close a modal
  • #editor|Control+a — select all