WebWhatsappBot icon indicating copy to clipboard operation
WebWhatsappBot copied to clipboard

Send message to number not in contact

Open derodevil opened this issue 7 years ago • 2 comments

How can I send message to phone number where it's not in the contact list? When the destination number in the contact or the number sent my me first I can send it back

derodevil avatar Nov 03 '18 12:11 derodevil

Using this technique is very slow:

IJavaScriptExecutor js = driver as IJavaScriptExecutor;
                js.ExecuteScript("window.location.href = 'https://web.whatsapp.com/send?phone=" + number + "'");

I have to wait until a popup element is shown. It takes around 4 seconds with a good internet connection.

derodevil avatar Nov 26 '18 16:11 derodevil

It is a good option to use that technique if you want to avoid banning, I'm working on a more efficient method but the reverse engineering process is complex.

ZetDeveloper avatar Nov 26 '18 17:11 ZetDeveloper