Function to create and send a key event.
Parameter | Type | Description |
---|---|---|
keyDescription | String | Key description for key. Example: "U+000A" for Enter. Full list of codes can be found here. |
optionalEventType | String | Event type. Default is keydown. |
optionalDocument | Element | Element to target the event on. Default is current active document. |
0 Comments