Have the HTML code as below.and i want to locate the element using the text SOFTWATE.
<label _ngcontent-c5="" class="form-check-label" style="" xpath="1">
  <input _ngcontent-c5="" class="form-check-input ng-untouched ng-pristine ng-valid" type="checkbox">
  <!----> 
  <!---->
  <span _ngcontent-c5="" class="checkmark">
  </span>
  SOFTWARE 
</label>
Tried with the xpath //div[@class='filter-item-wrapper activate']//label[contains(text(),'SOFTWARE')], but no luck.
Anyone could please help to find the locate the element using the text 'SOFTWARE'