brenden / node-webshot

Easy website screenshots in Node.js
2.12k stars 286 forks source link

take screenshot when all ajax requests finished #111

Open a1Gupta opened 9 years ago

a1Gupta commented 9 years ago

For many websites when I am trying to take screebshot , its capturing screenshot with half the content loaded or showing ajax loader in screenshot. How can I take screenshot when all ajax request finished. I tried setting renderDelay : 60000 , but still its not rendering completely loaded webpage (eg. www.apple.com). Is there any option like no timeout for rederDelay ?

ShubhamBadal commented 9 years ago

I am also facing exactly the same issue since many months. renderDelay not working always, fails for some websites like apple.com and internshala.com

Somebody please help.

rahul-desai3 commented 9 years ago

I am facing the same issue. Has anyone found a solution yet?

brianb-cp commented 9 years ago

We also have this issue. Our pages render correctly in stand-alone PhantomJS (exe) so it appears to be an issue with the wrapper.

Example page: http://goo.gl/Y43rb0

dlbrown06 commented 9 years ago

Bump

fabiofederici commented 8 years ago

+1

balthazar commented 8 years ago

For websites you got control over, you can use the takeShotOnCallback option.

7Style commented 7 years ago

04/2017 => +1