I can't understand why this function enter into a infinite loop as show in the Logs screenshot below ?!!!!
This only happens in run mode. In record mode everything working as expected !!!
Yes that's what i tried to do relaunch the Loop but it waste time on the already detected elements on the first loop. thanks for your answer mate !
My Solution :
Try using labels inside the loop Works fine