Selenium is a web automation package available for all popular languages. To know more about selenium you can refer to official Selenium docs. Here, we will be making a simple WhatsApp bot using Python and Selenium which will reply the current time for every message.
So, first of all, we need to install Selenium for Python by running following command in terminal.
pip install selenium
Selenium also requires a driver to interface with the chosen browser. For Firefox, we need to install geckodriver. Without proper driver, you will get WebDriverException.
Download latest geckodriver from Mozilla’s GitHub Repo and add to the path.
…Read more »