Improving saving page source and screenshots