Take screenshot failure

I am facing an error every time while taking a screenshot, besides it is not taking the whole screen in the picture. I am learning UiPath in the beginning. the error as below;

Hi @Moataz_Y.Abozied

If you need screenshot of whole screen then do not pass or indicate any element just drag take screenshot and give only the file saving path. Then it will take for whole screen

and you are getting failure because the element you indicated is not available while taking screenshot

image

cheers

Hi Mr. Anil

Thanks for the feedback. I have tried many times before replying but still. The element i am capturing is a website and with high dynamic GUI. Is theat might be the reason?, and forgive me please forr bothering.

Hi @Moataz_Y.Abozied

So can you tell me if you need screenshot of whole screen or any particular element?

cheers

@Moataz_Y.Abozied you might want to add a CheckAppState activity monitoring if the element is visible and, only then, take the screenshot.