Hello and sorry for the late reply.
You are right. Unity 5.6 used to be able to capture GUI graphics when using (the now obsolete) “Application.CaptureScreenshot” method, but in later versions of Unity (2017++), it does not do take into account GUI graphics anymore, which is unfortunate.
I will need to look into the possibility of some sort of a hack-workaround.