title: XPath to retrieve text within span
body: <p>I am trying to figure out the XPath which will retrieve the 'text Data 3' from the following HTML snippet</p>
  
  <pre><code>  &lt;span class="inner-span"&gt;
      Text-data 1
      &lt;br&gt;
      &lt;span&gt;Text Data 2&lt;/span&gt; text Data 3
     &lt;/span&gt;
  </code></pre>
  
  <p>So far i have tried the following Xpath which leads me to the span with class 'inner-span'</p>
  
  <pre><code> /html/body/div/div[4]/div[2]/div[2]/div/div[2]/div/span[@class="inner-span"]
  </code></pre>
  
  <p>But dont know what to add more to Xpath which will only give me text 'text Data 3' from above Html snippet.
  Thanks </p>