Skip to main content

A Whatsapp bot using Selenium in Python

Project description

Whatsapp Bot

A Whatsapp bot package using Selenium in Python. It allows sending and receiving messages from groups and users.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

The selenium package for python.
The chrome driver: http://chromedriver.chromium.org/

Examples

How to use the function provided by the package

Initialize the connection

  • Run the whatsappWebConnection as a threaded function
>> import seleniumbot
>> seleniumbot.whatsappWebConnection(PathToChromeDriver) 

Send a message

>> seleniumbot.sendMessage(targetName, msg)

Read the last message

>> seleniumbot.getLastMessage(targetName, textDirection):

Read all available messages

>> seleniumbot.readAllMessages(targetName, textDirection)

Built With

Authors

  • Shaked Nissanov

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for seleniumbot, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size seleniumbot-0.1-py3-none-any.whl (2.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size seleniumbot-0.1.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page