Add save_and_open_screenshot snippet