I want to capture a full page screenshot of a webpage that has a sticky header. Say for example https://www.flipkart.com/ site has the sticky header. I am using Ashot and it took the screenshot like the one below. https://www.flipkart.com/
You can see the header is appearing between the image
It would be really helpful if I could find any ideas on how to achieve
Try with shutterbug https://github.com/assertthat/selenium-shutterbug
There is a lot of options that you can use to crop the page.
First solution Try with ignore-parts of the screen like 10px from top. You have to play with the tuneup.
Second solution is to edit CSS of the header element, the idea is to change his position to 'relative' so it will not be on top when scrolling.
This is how I did it. Disable on-top header: