my casperjs can't execute example.js ,
phantomjs 2.1.1 capserjs 1.1.3
example.js
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();
when execute casperjs example.js , show me this;
referenceerror: can't find variable: process phantomjs://platform/path.js:26
Comments
Post a Comment