click enter cypress code example
Example 1: 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')
Example 2: cypress type force
cy.get('whatever').type('Test all the things', { force: true });