Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

SujalXplores/express-wifi-automation-script

Repository files navigation

Express wi-fi by Facebook automated script

HitCount Maintenance Website shields.io Open Source? Yes!


⚡ Working demo

demo


To start npm start

Pre-requisites

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.

Node.js version

v16.10.0

Purpose of this script?

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.

What this script do?

  1. It opens the new 9 chrome windows parallely.
  2. Loads the ad URL
  3. Waits for the page to load
  4. Wait till advertisement video finish
  5. Exit the browser after pack is credited.

Things to improve

  1. Add more catch methods to handel errors with more precise error messages.
  2. Instead of using multiple calls in Promise.all(), use a single call with multiple tabs.
  3. 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.

About

A simple express wi-fi automation script powered by node.js and selenium web driver.

Topics

Resources

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /