We need to automate the input of a message into the chat.
If you enter by hand, then before sending a request is sent "compuing" and after it most often "paused".
I do focus () on the input and then dispatch an event with just one key and change the value of the textarea to that key.
But requests are still not sent and the submit button is not working.
To place the code, please use CodePen or similar tool. Thanks you!