-
Download the driver for the browser you have (Chrome/Firefox)
-
For Chrome:
- Go to: https://chromedriver.chromium.org/downloads
- Download the 'chromedriver' file
- Put the 'chromedriver' file you have downloaded in the project root folder
-
For Firefox:
- Go to https://github.com/mozilla/geckodriver/releases/tag/v0.28.0
- Download the 'geckodriver'
- Put the 'geckodriver' file you have downloaded in the project root folder
-
-
Once you have cloned the repository, execute
npm install
-
Configure the config.json file, put a contact that WhatsBot will stay and watching for new chats, for DOM reasons, it's the easiest form.
-
Execute:
node app.js
-
Enjoy your new assistant, don't close the two browsers opened
If you have problems with the app, please write an issue in the issue sections and i'll try to solve it.