Commit 58fc30eb 58fc30eb33c24defd267aeb862f3170487222fd6 by Nicolas Perriault

added an example for logging

1 parent 6bf71011
phantom.injectJs('casper.js');
var casper = new phantom.Casper({
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();