mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
12 lines
233 B
JavaScript
12 lines
233 B
JavaScript
|
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();
|