I'm doing an automation with selenium and I'm trying to take the value that is inside a stiqueta span, how can I do it? I already tried with getText () but prints a null
this is the line in the HTML
<span class="visible-xs" data-bind="html: PriceWithoutCurrencySymbol">99.520</span>
I need to take the number 99.520, I already made the correct xpath that finds it but how do I extract that value?
Thanks for your help
Aucun commentaire:
Enregistrer un commentaire