To start npm start
1. Node.js installed.
2. Express wi-fi by Facebook coverage in your local area.
2. Login to Express wifi app first before executing the script.
v16.10.0
Express wi-fi gives 1GB data pack by watching ads of 30-35 seconds. So, I have to watch 35second ad and after watching that ad, I got only 1GB. I just automate this task using the power of
javascript
&selenium
and now I got 9GB in single shot.
- It opens the new 9 chrome windows parallely.
- Loads the ad URL
- Waits for the page to load
- Wait till advertisement video finish
- Exit the browser after pack is credited.
- Add more catch methods to handel errors with more precise error messages.
- Instead of using multiple calls in Promise.all(), use a single call with multiple tabs.
- Add function to check if device is connected to internet & with express-wifi.
P.S. This script is not for commercial use and only for educational purpose only.