- groups support
- emojis support
- naver-chatted contacts support
- multiline messages support
- test it without send any message
- summary of unsent messages
disclaimer: I've used it for a hundred Xmas greetings and everything worked well 😊
Before starting:
- open
messages.js
$ yarn start
to send the messages- you can test my script without really sending messages, set
TEST_SAFELY
inconfig.js
to true - open
config.js
and set thefindInputTitle
string, it's the content of the "Search or start a new chat input field"
Because I love to send Xmas greetings but on Dec 25th I can't spend an hour writing and sending them.
So I write all the messages in advance and on Dec 25th I'm going to launch this script.
It uses Puppeteer to open up the WhatsApp web UI and write/send the messages for you.
No, it works also with contacts you never chatted with.
Yes, every line will be sent as a saperate message.
Obviously...
Yep.
Yep, open config.js
and set TEST_SAFELY
to true
Nothing happens, the script needs to match exactly the contact name, otherwise it does nothing.
Because it's case and emoji sensitive, the contact name must 100% match the correct one.
Don't worry, every unsent message is console.logged
Look at the config.js
file.
Look at the messages.js
file.
$ yarn start