How to storetext in this case

Hi, buddies

I want to know, how can I extract “PERFUME DE ALTA QUALIDADE”, in this case:

<h4 class="details-header">PERFUME DE ALTA QUALIDADE &gt; Masculino <br><small><span class="text-muted">Ref. 102057M</span></small></h4>

My target: /html/body/div[3]/div[2]/div/mat-dialog-container/product-details-dialog/dialog-theme-body/div/div[2]/h4

Thanks

What exactly goes wrong? And: do you have a link to the website?