title: How to write Xpath for next Div using Sibling
body: <p>I want to read the Tax Price using the sibling concept, so I have I've written below XPath, but it's not working</p>
  
  <p>My code:</p>
  
  <pre><code>//div[@class='grid_3 d-grid_10']//label[contains(text(), 'Tax')]/following-sibling::div
  </code></pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div class="grid_3 d-grid_10"&gt; 
      &lt;label class="m-confirmation-modal-print-detail-capgrey"&gt; Tax:&lt;/label&gt;
  &lt;/div&gt; 
  &lt;div class="grid_1 d-grid_2"&gt; 
      &lt;label class="m-confirmation-modal-print-price text-align-right"&gt; $10.50&lt;/label&gt; 
  &lt;/div&gt;
  </code></pre>