sgentle/phantomjs-node — Issue #14: No support for proxified WebPage Callbacks?
Author: hassellof
Created: 2012-01-09 13:56:50+00:00
State: open

Some more feedback, might look into this myself in a while but right now time does not permit it.

I need to set page.onConsoleMessage = function (msg) { console.log(msg); }; but from what I can tell it is not supported to set any callbacks on the proxified WebPage object in node?

onConsoleMessage is most important to me, but I can see some use for all of the following callbacks:
onAlert
onConsoleMessage
onInitialized
onLoadFinished
onLoadStarted
onResourceRequested
onResourceReceived