Need full page screenshot | Selenium Forum
A
amruta.markhedkar Posted on 27/06/2019

Hi Ashish, 

1. Created the project using Maven.

2. Now, able to take the screenshot but that is a partial one. Need the full page screenshot. 

Do we need to include any jar dependency or anything that will help in getting the full page screenshot?

Kindly help.

Many Thanks!

Amruta.

 

 

 


A
Ashish Thakur Replied on 28/06/2019

Hello Amrutha,

Selenium itself doesn't support full page screenshots, it takes the screenshots of the visible part of the page only.

If it is a requirement in your project and you need to take a screenshot of the whole page, you have to use third-party tools.

You can refer the page link below for the reference.

https://stackoverflow.com/questions/44085722/how-to-get-screenshot-of-full-webpage-using-selenium-and-java

But we cannot guarantee that the methods mentioned there would work or not as the WebDriver W3C standard specifies the screenshot to be taken of the topmost layer of the visible screen only.