Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 1.19 KB

README.md

File metadata and controls

17 lines (13 loc) · 1.19 KB

automate-whatsapp-messages

this is currently built only to send whatsapp messages;

The project is using selenium to navigate through the web.whatsapp.com, with the help keyboard shortcuts automater can easily navigate through the whatsapp website.

listed below are the steps that needs to be taken to send a message:

  1. login to whatsapp ( through QR code ) :
    • To make sure we don't have to login to the whatsapp we can use profiles; I am using firefox profiles; To create a new profile you can search about:profiles and select creat a new profile.
    • After setting up a new profile, you can replace the root-directory of the firefoxprofile = webdriver.FirefoxProfile(root-directory)
  2. create a new chat : CTRL+SHIFT+N
    • You can use actions to emulate this key combination actions.key_down(Keys.CONTROL).key_down(Keys.ALT).send_keys('n').key_up(Keys.ALT).key_up(Keys.CONTROL).perform()
  3. type the contact name
  4. type the message
  5. press ENTER
  6. close chat : ESC