press hotkey cypress code example
Example 1: cypress backspace
cy.get('input').type('{backspace}')
Example 2: cypress key press
// this is the same as a user holding down SHIFT and ALT, then pressing Q
cy.get('input').type('{shift}{alt}Q')
cy.get('input').type('{backspace}')
// this is the same as a user holding down SHIFT and ALT, then pressing Q
cy.get('input').type('{shift}{alt}Q')