maaaaz / webscreenshot

A simple script to screenshot a list of websites
GNU Lesser General Public License v3.0
654 stars 162 forks source link

Redirect Support / Nodejs Webpages / Additional Logging? #26

Closed own3mall closed 4 years ago

own3mall commented 5 years ago

Does webscreenshot support redirects when taking screenshots?

For example, this URL generates a blank screenshot with chrome as the web driver and webscreenshot version 2.4:

https://mohaaaa.co.uk

The below URL is for a node.js powered site:

https://videos.dinofly.com

When it is screenshot, it doesn't appear to be loading all of the JavaScript / finishing the rendering as it would appear to an end user? Any idea on this one?

Also, rather than outputting messages such as Screenshot somehow failed, is there a way to find out why it somehow failed? I think it would be nice to have more info if possible.

maaaaz commented 4 years ago

Hello @own3mall,

I tried every renderer for your website and they all fail to screenshot it: I can't investigate more.

Follow these indications if you want to debug: https://github.com/maaaaz/webscreenshot/issues/29#issuecomment-533876042

Cheers