lundi 15 février 2021

Cypress: key combinations

I'm trying to write the keyboard shortcut 'ctrl+F1'

I tried

cy.get('body').type('{ctrl}',{release:false}).trigger('keydown',{key: "F1", code:"F1", which:112});

But it doesn't work

What do you suggest?

Aucun commentaire:

Enregistrer un commentaire