Get screenshots when the page is loaded instead of using the button