@FastSpace The a/m error is from a desktop of mine, in the same LAN, and I'm connecting to it via RDP with my laptop.
Could this be because there is no actual display attached to the computer?
Create a variable called "counter". Than use "is element exist" to check if element exist and update "counter" variable whenever element is missing. Check counter variable in the loop, and fail thread if "counter" hit 3