abramenal/cypress-shadow-dom

[Feature] - shadowType accept special characters

SrSatierf opened this issue · 4 comments

Current behavior:

shadowType split every character in the text and creates a keyboardEvent for each of them.

Desired behavior:

Like cy.type, shadowType could have the option to allow special characters like "ESC" or "backspace" and create a keyboardEvent for the corresponding special character.

I really hope it will be released soon!

Hi @SrSatierf
Thanks for submitting the issue!

Right now help is really appreciate since I don't have much time to improve the plugin properly.
Not sure if I can give you precise estimate of this being released

Any updates on this feature or anybody working on this?

I think the quick/easiest way to do this is extend/allow shadowTrigger to dispatch KeyboardEvent events?