I am trying to take a screenshot in headless mode of the dashboard but till now I had no success.
I can take screenshots of webpages without any problems. but when it comes to taking a screenshot of the dashboard or the node-red program environment I get a white or gray image.
Till now I tried firefox and cutycapt.
In the exec node command line:
firefox -screenshot pic.png http://192.168.1.1:1880/ui
xvfb-run --server-args="-screen 0, 1024x768x24" ./CutyCapt --url=http://192.168.1.1:1880/ui --out=pic.png
with cutycapt I tried a delay as well, but same result.
maybe someone of you already solved this problem?!
I would be happy if someone could help me