title: Selenium XPath Find Sibling
body: <p>I'm scripting with Selenium against a Salesforce Lightning App.</p>
  
  <p>I'm having issues getting the actual Available Balance (0.00 GBP), this is held within a div//lightning-formatted-rich-text//span tag</p>
  
  <p>My thoughts are I should be able to locate the <code>div//lightning-formatted-rich-text//span</code> tag that contains the text 'Available Balance' and then navigate from that div tag to the div tag that contains the <strong>0.00 GBP</strong> text, and get the text from there - but I'm not sure how to do this....? Here's a screenshot of the code:</p>
  
  <p><a href="https://i.stack.imgur.com/Lrqyg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Lrqyg.jpg" alt="enter image description here"></a></p>