take screenshots from the frame