2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 21:33:02 +01:00

add casperjs

This commit is contained in:
kev
2015-09-13 12:02:36 +08:00
parent a7638ef8b2
commit ef9113aec0
4 changed files with 60 additions and 0 deletions

11
casperjs/sample.js Normal file
View File

@@ -0,0 +1,11 @@
var casper = require('casper').create();
casper.start('http://casperjs.org/', function() {
this.echo(this.getTitle());
});
casper.thenOpen('http://phantomjs.org', function() {
this.echo(this.getTitle());
});
casper.run();