Skip to content

Send WhatsApp message by web interface through selenium test

License

Notifications You must be signed in to change notification settings

coolestdev/whatsapp-messager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatsapp-messager CircleCI

Send WhatsApp message by web interface through selenium test.

Prerequisite

  1. A hosting Operating System with GUI
  2. Install Google Chrome
  3. Download Selenium chromedriver
  4. Must start this server in GUI
  5. Keep browser open and server running

Send message

  1. Start server java -jar whatsapp-messager.jar
  2. Login whatsapp by scanning barcode on opened browser (or get barcode from - http://<host>:<port>/login/barcode)
  3. Send message by
http://<host>:<port>/sendto/<phone number>?message=<message to send>