title: Protractor: How to get a sibling element
body: <p>I have a repeater like this</p>
  
  <pre><code>&lt;div ng-repeat="d in data"&gt;
      &lt;input type="checkbox" ng-mode="d.checked" name="someName" /&gt;
      &lt;span&gt;{{d.name}}&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to get the input:checkbox for the row where span contains text 'test5' i.e. for which span is bound to d.name == 'test5'</p>