@junawan
In cases like your image, you can add the "notreuse" parameter after the resource, this ensures you do not reuse old data, but get new data without restarting the thread.
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
Maybe not the best way to do it but you can scrape all possible urls on the page and then add all to a new list then you can take a random line from the list and click it. That would 100% work.