phantomjs not waiting for “full” page load
Another approach is to just ask PhantomJS to wait for a bit after the page has loaded before doing the render, as per the regular rasterize.js example, but with a longer timeout to allow the JavaScript to finish loading additional resources: page.open(address, function (status) { if (status !== ‘success’) { console.log(‘Unable to load the address!’); … Read more