Casperjs - trying to run casper script from command line doesn't output correctly
问题 I'm brand new to casperjs, and in the process of trying to run my first casper script from the command line (using $ casperjs sample.js ), I received this output: Casper CLI passed args: [] Casper CLI passed options: { "casper-path": "/usr/local/Cellar/casperjs/1.1-beta2/libexec", "cli": true } Instead of the predicted output of: CasperJS, a navigation scripting and testing utility for PhantomJS PhantomJS: Headless WebKit with JavaScript API Here are the contents of the sample file: var