The WBResults Automation Tool is a script that automates the process of retrieving result data in bulk from the wbresults.nic.in website. It uses Puppeteer, a Node.js library, to navigate the website, fill the form, and extract the result data.
Before running the automation tool, make sure you have the following installed on your system:
- Node.js: Download and Install Node.js
-
Clone this repository to your local machine or download the source code.
-
Install the project dependencies by running the following command in the project root directory:
npm install
-
Update the
rollNumbersarray in theindex.jsfile with the roll numbers for which you want to retrieve the result data. -
Run the automation script using the following command:
node index.js
The script will launch a headless browser, navigate to the wbresults.nic.in website, fill the form with each roll number, and save the result page HTML for each roll number in separate files.
- Check the output directory for the saved result files. Each file will be named after the corresponding roll number.
-
If you want to modify the script's behavior or add additional functionality, you can edit the
index.jsfile according to your requirements. -
You can customize the output directory by updating the
outputDirectoryvariable in theindex.jsfile.
- If you encounter any issues or errors while running the automation tool, please check the troubleshooting guide provided by Puppeteer.
Contributions are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.