Element exist in Do While loop

the loop has to run till the element exist is gone.
element exist is the same element as the click activity.

how to maken that? the picture I posted doesn’t work.

You can have one Element exist before the Loop and keep the While loop .

Also use one if condition to break if not available.

Hey @cjmwirken1978

do-while{

Element Exist variable = A

}Condition
A = True

The loop will run till the element vanishes.

Hi

Did you try with WAIT ELEMENT VANISH activity

It does the same what above loop does but in a single activity if our intention is to wait till that element is not there anymore in the screen

Cheers @cjmwirken1978

it has to run thill the element disappears

It would be better to use Get Children to get all the trash can icons, then loop through the children and click each one.

hello, he has to finish when the trashcans are gone… number of trashcans are variable each time.

-when the trashcans are gone, he has to do the click activity as you see below.

hello, he has to finish when the trashcans are gone… number of trashcans are variable each time.

-when the trashcans are gone, he has to do the click activity as you see below.

You have to tell us more about what your automation is doing while it’s waiting for the icons to all disappear.

just delete the trashcan icons by click step. when they are gone, then the loop must break