When we load inject.js into the browser, We will allow other js file to be imported into the browser. This way user can add their own logic and functions.
In bot.json we will take a folder path
Will take that part and will get all the js files in that folder. if there are then we will inject in browser one by one and will log in cli like File 1.js loaded
To avoid function overwriting we will load these files first and then we will load our WAPI and inject.js files.
When we load inject.js into the browser, We will allow other js file to be imported into the browser. This way user can add their own logic and functions.
In bot.json we will take a folder path
Will take that part and will get all the js files in that folder. if there are then we will inject in browser one by one and will log in cli like
File 1.js loaded
To avoid function overwriting we will load these files first and then we will load our WAPI and inject.js files.