![]() ![]() Striking the right balance between the page being fully loaded and getting a quick screenshot is quite a challenge when it is applied generally to any website. Waiting for too long after the page is loaded, means we are wasting unneccessary time and causing the screenshot request to take longer than is required. Taking a screenshot before the page has fully loaded will result in a bad screenshot where images are not loaded and styles have not been parsed and applied. ![]() ![]() Knowing when a page has finished loading is a crucial first step to taking accurate website screenshots with puppeteer. ![]()
0 Comments
Leave a Reply. |