title: Protractor: How to locate a sibling of a given element?
body: <pre><code>&lt;div&gt;
     &lt;a href='...'&gt;LINK&lt;/a&gt;
     &lt;img class='image' /&gt;
  &lt;/div&gt;
  &lt;div&gt;
     ...
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to get a protractor element for the <code>img</code> tag with <code>image</code> class. I already know the link text 'LINK'. In other words, "How do I locate a sibling of a given element?".</p>
  
  <p>The first line of the code could look like this:</p>
  
  <pre><code>browser.findElement(by.linkText('LINK'))
  </code></pre>
  
  <p>Any ideas?</p>
  
  <p>Thanks &amp; Cheers</p>