Need full page screenshot
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?
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.
We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium. All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project
© 2020 Whizdom Trainings. All rights Reserved - Powered by Whizdom Trainings