Hey Aleksel.
One automation test for each task sounds like a good idea. 1 for reading messages, 1 for sending messages.
I think browser automation for my case is not possible because on WhatsApp (web.whatsapp.com) you cannot add new contacts. And i want to automatically save phone numbers for all incoming messages containing a specific keyword
For example: A person sends “subscribe”
Now i want to have one Appium Test running in the background of my server doing this. It should permanently scan all incoming messages on the emulated device and add numbers to the contact list.