Is there any way to find the row number/index that contains a specific string in GEB? I can check whether a row contains a specific string or not with:
text: contains()
But how can I find the index of that row and then click on a link in the same row using that index ID? Any suggestion or help would be really appreciated. Please don't say what did I try so far. I spent few hours already and still no way!
EDIT: Okay, so the problem was: I can select any row with known index, for instance:
$('p', 1).click()
but when I don't know the index of the row and in that particular row I need to select a link/checkbox, I believe this is the way we want to handle the issue, isn't it? Or is there any other better way to do it?