title: How to find xpath which have span in selenium?
body: <p>Below is the inspect element. I need to figure out the xpath so that, cursor should click on filter icon.</p>
  
  <p><a href="https://i.stack.imgur.com/bOIgS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bOIgS.png" alt="enter image description here"></a></p>
  
  <p>I have tried below xpath, but it doesn't work. I need to specify column name 'Investment Description', because page has lot of filter icons.</p>
  
  <pre><code>//div[@class='ag-header-cell-label' ]/child::span[@class='ag-header-icon ag-filter-icon ag-hidden']
  </code></pre>