Open apur opened 8 years ago
I have specified the following options, it does not finish executing. var options = { width: 'all', height: 'all', renderDelay: 10000 };
there is increase renderDelay around 1 minute 60000 . I think u can get the image ... another thing u can do to use callback function var options = { quality: 80, screenSize: { width: 1024, height: 768 }, shotSize: { width: 960, height: 537 }, siteType: 'url', phantomConfig: { 'ignore-ssl-errors': 'true', 'ssl-protocol': 'any' }, streamType: 'jpg', // errorIfStatusIsNot200: true, takeShotOnCallback: true,
onLoadFinished: function() {
window.callPhantom('takeShot');
},
renderDelay: 70000,
timeout: 360000
};
You can call it once a certain element on the page loads, so it won't matter how long it takes.
captureSelector: '#your_Id',
Hi,
We have a page which is generated dynamically and is also image intensive. Hence it takes a long time to load and image is not generated, on a 16 kb image is generated. Kindly help.