-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytopic: cy.type ⌨️type: enhancementRequested enhancement of existing featureRequested enhancement of existing feature
Description
currently, in order to simulate the user pressing "ctrl+bhello world", you would need two cy.type commands if you want to simulate releasing the ctrl key after the b:
cy.get('...').type('{ctrl}b').type('hello world')We should introduce a new syntax {<mod>+<key>} to specify you want to press-and-release the ctrl key after one (or more) key:
cy.get('...').type('{ctrl+b}hello world')tnrich and EtienneBruines
Metadata
Metadata
Assignees
Labels
pkg/driverThis is due to an issue in the packages/driver directoryThis is due to an issue in the packages/driver directorytopic: cy.type ⌨️type: enhancementRequested enhancement of existing featureRequested enhancement of existing feature