title: How to get only div text not span text using xpath
body: <p>I am trying to get only order numbers like &quot;190795&quot;. check the image <a href="https://i.stack.imgur.com/FOdks.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FOdks.png" alt="enter image description here" /></a></p>
  <p>What i have tried</p>
  <pre><code>self.driver.find_element_by_xpath('//div[@class=&quot;sc-kafWEX ihwrOP&quot;]//div/div/div[3]').text
  </code></pre>
  <p>But it will return span text such as &quot;Order number:190795&quot; like this.</p>
  <p>I want only &quot;190795&quot;</p>
  <p>This is my HTMl code
  <a href="https://i.stack.imgur.com/5GCVo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5GCVo.png" alt="enter image description here" /></a></p>