im trying to identify when an element has the text field empty, I just tried with some codes but the problem right here is there is not an empty space, it has white spaces inside, and I don't know how to validate if this exist to jump to the other class.
Im trying this without success.
This is the site elements part.
<div class="detalle-producto__descripcion">
<p>
</p>
</div>
And this is my code:
If driver.FindElementByXPath("//*[@id='headerAngular']/div[52]/main/div/div[1]/div[2]/div[2]/p").Text <> " " Then