Move the screenshot from open_url to check_page_loaded.