Send WhatsApp messages via Javascript

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

unfortunately this doesn't work anymore, because the "send" button is overridden with the microphone button until you modify the message with the keyboard, so you can't do a completely automatic bot
If I want a bot which spams messages continuously, I have to change a letter on the message everytime so that the "send" button appears and gets triggered

FiorixF
Автор

Can use this

window.InputEvent = window.Event || window.InputEvent;
var event = new InputEvent('input', {bubbles: true});
var textbox = document.querySelector('#main > footer > div.block-compose > div.input-container > div > div.input');
textbox.textContent = 'Text'
textbox.dispatchEvent(event);

chickeneggroll
Автор

whatsapp use reactjs. To automate it you have to use chrome attach debugger.

anashidayat
Автор

el boton de enviar esta dato de la siguiente manera:
var input =
input[0].click();

francisco
Автор

Hey I am writing a software in which I have to send WhatsApp msg through a software. I am stuck in how the software presses enter...I want it to be fully automatic..can u help me how I can press enter through software

parthsarthi
Автор

How to send media ?
Please it's urgent

aminbaloch
Автор

after ....
input[0].click();

It doesn't shows me the send option!

FerchosUniversal
Автор

si alguien tiene de colocar el mensaje reciente mente, se lo agradeceria y el de colocar el numero

francisco