UNPKG

casperjs

Version:

A navigation scripting & testing utility for PhantomJS and SlimerJS

15 lines (11 loc) 344 B
/*eslint strict:0*/ /*global CasperError, console, phantom, require*/ 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();