COTPS-automata

COTPS Chrome Extension Automation Bot Powered by Selenium WebDriver & Node.js

Installation

npm install

Environmental Configuration

Set your desired configurations in a .env and keep them at the root level of the project. Sample .env file's contents should look like this:

#Browser Modes Toggles 1 to enable, 0 to disable
BROWSER_EVIDENCES_ENABLED=0
BROWSER_HEADLESS_MODE=0

#In ms
DEFAULT_TIMEOUT= 5000

#credentials
COTPS_REGION=Pakistan +92
COTPS_PHONE_NO=3249493082
COTPS_PASSWORD=Bazinga2020!

# 0 to disable, 1 to enable interval mode
INTERVAL_ENABLED=1
#In minutes
INTERVAL_TIME=130

Usage

After setting the above configurations in .env file, run the following command to execute the scraping:

 npm start

Debug

debug logs can be found in debug.log file being generated during the execution.

Contact

Please feel free to reach out at Arinze Ezeokwuegbu in case of any concerns.