I found a lot of examples on how to capture screen and export its content to PDF. By looking at all of them, looks like the best way to do this is using PhantomJS. But I haven't really found a good example on how to include that library and work with Phantom.
I have few d3 charts on my page, so is there a good example how to capture all page content? BUT only specific area of the page, I don't want to include page navigation, header..etc