Sending Automatic Whatsapp messages via web 2020-07-06 16:46:07
I'm using web.whatsapp.com
I've made it so that I can populate the message with the following:
document.querySelector("._2UL8j > div:nth-child(2)").innerHTML = "hello";
I can also click the send button using this
However, whenever the text is added in via JS, the send button doesn't appear. The only time it displays the send button is when input is added manually from the keyboard.
There must be a way to emulate this via JS.
If anyone has WhatsApp, please log into the web version and see if you can find a way to prompt the send button to appear one populating the textfield with the above code.