UNPKG

casperjs

Version:

A navigation scripting & testing utility for PhantomJS and SlimerJS

15 lines (10 loc) 243 B
casper = require("casper").create() links = [ "http://google.com/" "http://yahoo.com/" "http://bing.com/" ] casper.start() casper.each links, (self, link) -> @thenOpen link, -> @echo "#{@getTitle()} - #{link}" casper.run()