Whyfund-saver is a Browser Automation tool that allows to download the sets of challenges from http://whyfund.net/
Check out the Medium for details.
Also watch tool in action.
Browsing every test and checking their answers would take a LOT of time. Automation of this process took much shorter time!
The full story is k
Be able to communicate and send commands to a browser using Watir and simplicity of Ruby was a perfect match
-
clone repository
-
run
bundle installinside of the folder -
run
ruby src/main.rbto see it in action.- It will open browser (chrome by default)
- Will go to the page_url defined here it might work for your subdomain of sets on the `http://whyfund.net (but I did not check it).
- Will read all the links from the page inside of the table
- Will open page one by one and:
- Hide the Ads (from bottom of the page)
- Click on 'Check answers'
- Download the html file and put it into
outputfolder - and repeat