An automated PhantomJS based website status tracker.
The program runs in background emulating a user and tests the functionality of a set of websites in real time. It takes screenshots of the said test cases and mails them.
The program can be scheduled to run at regular intervals.
For every website you wish to test, add a new file in src/test-cases
folder. Thats it!!
- Clone or Download the repo.
- Download the the lastest version of Phantom.js as per your OS.
- Unzip the above and drop main phantomjs file in
src/phantom/
folder.
- Add desired recipients in the To: section of mailer files.
- You can manually run the
main.sh
file or schedule it as cron or autosys job. - To run on Windows or OSX you could write your own version of main.sh.
- Attach loggers with mail.