Hii @kartik,
This is simple task to send single message multiple time to your friend you need to follow the steps bellow:
1.Open your whatsapp web and log in.
2. Select the contact you want to send.
3.Open console:
For chrome:Ctrl+Shift+J (on Windows) or Cmd+Option+J (on Mac).
For Firefox: Ctrl+Shift+J (on Windows) or Cmd+Shift+J (on Mac).
4.Copy paste the below script in console and press Enter.
var randomTexts=["Hi","Hello","Please reply me"];
window.InputEvent = window.Event || window.InputEvent;
var event = new InputEvent('input', {bubbles: true});
var textbox = document.getElementsByClassName("_3u328")[0];
setInterval(function(){ textbox.innerHTML = randomTexts[Math.floor((Math.random() * randomTexts.length) + 0)];
textbox.dispatchEvent(event);
document.getElementsByClassName("_3M-N-")[0].click() ; }, 1000);
Tips
- To Change message :Using this code will sent messages from randomText string array. Each message will be selected randomly from the array and sent to the contact. You can use your own strings or single string inside this.
- Change time between each message:Using this code, messages will be sent at 1 message per second (1000 milliseconds). To change this you can change the 1000 milliseconds given for setInterval function at line 7 to any milliseconds rate you want.
For your Reference find the image attached below: