I’m sending a page event:
page.sendEvent('click', 650, 430);
This clicks a link that dynamically loads an element over ajax. Is it too late to access this dynamically loaded element via page.evaluate? I can’t seem to return anything whatsoever in anything dynamically created on the page.
So far the simplest dynamic way is to catch console messages, like described here http://code.google.com/p/phantomjs/wiki/Interface#Callbacks
In case you want to send some binary data, then I would recommend to use some kind of pipe through injecting a custom script into the webpage.