UNPKG

grunt-casper

Version:

Run Casper CLI Scripts With Grunt

11 lines (9 loc) 268 B
var casper = require('casper').create({ verbose: true, logLevel: 'debug' }); casper.log('this is a debug message', 'debug'); casper.log('and an informative one', 'info'); casper.log('and a warning', 'warning'); casper.log('and an error', 'error'); casper.exit();