How to skip certain condition if some value or element is not found in website?

I have one scenario, to copy some data from a website based on search by a key. It copies data area using a mouse selector by image. Now I need to set one condition to skip the remaining steps if there is no data based on the key. It should be in a loop… rest all are working fine. The only issue is, it copies the content even if it doesn’t have data based on the keyword that I search. Anyone can give me a solution?

Hi @albin,

I think it can be done by using If-Else condition that can check some variable that will have true/false value. Can you share your recording for more understanding what it should do?
Thank you.

Hello @albin,

Please advise whether this is still actual.