src/services/sendKeys/send-keys.service.ts
This service is to give support the SendKeys Class, (provides methods for sending keystrokes to an application)
Methods |
|
Static dispatchKeyboardEvent | |||||||||
dispatchKeyboardEvent(activeElement, key)
|
|||||||||
This method is used to dispatch an event in the activeElement according to the key that receive
Parameters :
Returns :
void
|
Static send | ||||||||
send(key: string)
|
||||||||
This method is used to receive a key and do the action according to the key
Parameters :
Returns :
void
|
Static sendWait | ||||||||
sendWait(key: string)
|
||||||||
This method is used to receive a key and do the action according to the key
Parameters :
Returns :
void
|