I have a todo list app and have to randomly select a list element and delete it. Class is always the same, just index changes (e.g. xpath:(//*[@class="view"])[n]).