deanmao / node-chimera

A new kind of headless webkit integration for nodejs; a great alternative to phantomjs.
http://www.deanmao.com/2012/08/13/enter-chimera/
MIT License
847 stars 45 forks source link

Error Object is Always null #10

Closed cjihrig closed 4 years ago

cjihrig commented 11 years ago

The error parameter of callback is always null. Also, chimera does not terminate in Ubuntu, as mentioned in #9.

var Chimera = require("chimera").Chimera; var chimera = new Chimera();

chimera.perform({ url: "http://www.google.com", locals: { }, run: function(callback) { callback("foo", "bar"); }, callback: function(err, result) { console.log(arguments); chimera.close(); } });

deanmao commented 11 years ago

thanks for reporting the bug.