WhatsApp Web Application: click on send message button

** GOAL **
I want to automate the click on the SEND MESSAGE button on the WhatsApp Desktop Application

** STEPS **

  1. The following link opens the WhatsApp Desktop Application
  2. It automatically goes to the conversation with the phone number (+34)123 123 123
  3. It automatically types a customized message

Link as example
https://wa.me/34123123123?text=Customized%20message

** PROBLEM TO SOLVE **
Is it possible to automatically click on the SEND ICON on the bottom right hand side of the screen?

It might or might not work with the regular Selenium-IDE style click (I did not test), but what works for sure is using XClick:

  • XClick (xpath locator, if you know it)
  • XClick (image of “send” icon) <= this works for sure!

Automating Whatsapp seems to be quite popular. Here are some other posts that are related: