sgentle/phantomjs-node — Issue #6: page.render Callback
Author: trevordixon
Created: 2011-12-09 23:06:24+00:00
State: open

Phantomjs-node is excellent! It's coming in very handy and is a very creative solution!

In PhantomJS, render is a blocking function. When I call it from node, it seems to operate asynchronously (which is great), but when I give it a callback function, the callback never gets fired. I don't want to move on until the rendering is done.

Is there a way to hack phantomjs-node to fire the callback once render() finishes?