scottschafer
Results
12
comments of
scottschafer
trafficstars
This seems to work: ```js Cypress.Commands.add('typeTab', (shiftKey, ctrlKey) => { cy.focused().then(($el) => { cy.wrap($el).trigger('keydown', { keyCode: 9, which: 9, shiftKey: shiftKey, ctrlKey: ctrlKey }); }); }); ```
@brian-mann , ah. In our web app we specifically handle keyboard events and change focus programmatically. It works for us - sorry this won't work for you.