title: Find an Element in xPath where the next Sibling has a specific Text
body: <p><a href="https://i.stack.imgur.com/6uYnR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6uYnR.png" alt="enter image description here"></a></p>
  
  <p>Hi I am trying to find a specific "only" keyword where the next Sibling has a specific Character. I am trying to use the below mentioned code but seems it is not returning any value. Would be great help if you can show me where I am wrong.</p>
  
  <pre><code> //a[text()='only']/following-sibling::label[text()='Jet Airways']
  </code></pre>