title: How to find the row that contains a specific string in GEB and in that particular row I need to select a link/checkbox
body: <p>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:</p>
  
  <pre><code>text: contains()
  </code></pre>
  
  <p>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!</p>
  
  <p><strong>EDIT:</strong> Okay, so the problem was: I can select any row with known index, for instance: </p>
  
  <pre><code>$('p', 1).click() 
  </code></pre>
  
  <p>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?</p>