Not getting full page screenshot with screenshot testing

I am doing screenshot testing but only the top part of my webpage is getting captured instead of the full page. I have tried smart scroll feature as well but no luck. Could you please help?

Hey Helen! Greetings!

We use an automation script that includes window.scroll and window.scrollTo methods to take the screenshot of the full webpage. So in case these methods are disabled for your website(which looks to be the case here) only the part of the website on the viewport gets captured.

To resolve the issue, you can simply get in touch with the Devs to enable these two methods and you are good to go!

Hope this helps!

Have a good day!

1 Like