Coder Social home page Coder Social logo

pywapp's Introduction

PyWapp

Automate sending messages and images for whatsapp

Clone Repository

git clone https://github.com/zarif98sjs/PyWapp

Feature

  • send text to users / groups
  • send images to users / groups

Demo Code

import pywapp as pw

NAME = "YOUR NAME HERE" ## user name or group name 

MESSAGE = "Your message here ... " ## message 
pw.send_message(NAME,MESSAGE)

IMAGE_URL = "J:\\My Drive\\Zarif\\Work\\mail\\image042.png" ## path to image
pw.send_image(NAME,IMAGE_URL)

pywapp's People

Contributors

zarif98sjs avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pywapp's Issues

StaleElementReferenceException at send_message and send_image

Hi Zarif,

When I ran send_message, I received NoSUchElementException at xpath='//div[@contenteditable="true"][@Data-TAB="9"]', I modified xpath='//div[@contenteditable="true"][@Data-TAB="10"], now, I received StaleElementReferenceException.

I ran send_image, I also received StaleElementReferenceException. Please see screenshots for both.

Python 3.9.7
Firefox 96.0 geckodriver 30.0
Whatsapp 2.2149.4
Mac 11.6.2 (Big Sur)
Junyper Notebook

Thank you in advance

Tom

Screen Shot 2022-01-23 at 8 11 53 PM

Screen Shot 2022-01-23 at 8 12 07 PM

Screen Shot 2022-01-23 at 8 15 29 PM

Screen Shot 2022-01-23 at 8 15 53 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.