Got basic screen capture working using phantomjs