exit.js 150 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 casper.test.on("exit", function() { console.log("exited"); }) casper.test.begin("sample", function(test) { test.assert(true); test.done(); });