Whatsapp Message – Python Script

Whatsapp Message – Python Script

Learn how to automate the messaging feature of WhatsApp using selenium.

Code is here : https://github.com/umangahuja1/Scripting-and-Web-Scraping/blob/master/Whatsapp/message.py

Updated code : https://github.com/umangahuja1/Youtube/blob/master/Whatsapp%20Automation/updated.py

For more follow here : https://getsetpython.quora.com/



24 Comments

  1. Sir. I am watching this video for the first time. Thanks for creating like this video and I have a couple of doubt, I have Windows laptop is it possible can I able to use the same code in that and I already have Python in my machine for this code you are calling the selenium should I also want to install selenium? If anybody also knows please reply me

  2. Please help, I am getting an error:

    NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//span[@title = "Me Postpaid"]"}

    (Session info: chrome=73.0.3683.103)

    (Driver info: chromedriver=73.0.3683.68 (47787ec04b6e38e22703e856e101e840b65afe72),platform=Windows NT 6.1.7601 SP1 x86_64)

    And on inspect element it is same as yours:
    <span dir="auto" title="Me Postpaid" class="_1wjpf">Me Postpaid</span> == $0

    Also I have used chromedriver.exe otherwise I getting an error at starting itself
    driver = webdriver.Chrome('C:/Users/………./chromedriver_win32/chromedriver.exe') #

  3. i am having in error !
    Message: no such element: Unable to locate element: {"method":"xpath","selector":"//span[@title = "Satan"]"}

    (Session info: chrome=74.0.3729.169)

    (Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.17134 x86_64)

Leave a Reply

Your email address will not be published.