mirror of https://github.com/zulip/zulip.git
21 lines
380 B
JavaScript
21 lines
380 B
JavaScript
/*jshint strict:false*/
|
|
/*global CasperError console phantom require*/
|
|
|
|
var casper = require("casper").create();
|
|
|
|
var links = [
|
|
"http://google.com/",
|
|
"http://yahoo.com/",
|
|
"http://bing.com/"
|
|
];
|
|
|
|
casper.start();
|
|
|
|
casper.each(links, function(self, link) {
|
|
this.thenOpen(link, function() {
|
|
this.echo(this.getTitle() + " - " + link);
|
|
});
|
|
});
|
|
|
|
casper.run();
|