Click on the person you want to send messages on loop.
then open the browser console.
copy the code from below.
paste the code in browser console.
Hit enter then it will ask you to type your message and the number of times you want to send the message.
Done. 👍
NOTE: there are two class names that are keep on changing, so if this code throws any error then just inspect the textbox of whatsapp and change the class name accoring to that in 5th line of code. and same for send button in 9th line.
varmessage=prompt("Enter your message","");varcounter=parseInt(prompt("How many Times ?",10));window.InputEvent=window.Event||window.InputEvent;varevent=newInputEvent("input",{bubbles: true});vartextbox=document.getElementsByClassName("_13NKt copyable-text selectable-text")[1];for(letindex=0;index<counter;index++){textbox.innerHTML=message;textbox.dispatchEvent(event);document.getElementsByClassName("_4sWnG")[0].click();}