Developer’s can automate the browser’s activity with a very smart package in python called Selenium. We can make use of whatsapp-web through the browser by using this.
We require three basic things to get things fulfill: Selenium.
Install selenium using pip by running the below command on your terminal −
$pip install selenium
As I using chrome webdriver, below is a link to download chrome webdriver as per your os.
Create Whatsapp account.
Below code is an example to send whatsapp message using python to specific contacts.
#python #whatsapp