Automate a screen capture?

Hi,
Everything is on the pi, the screenshot that i want to take is of the node-red dashboard which constantly displays my 20 gauges,on the pi, so everything is server side.

Thanks
Stuart