S
S
SALERAS2016-12-12 18:38:40
XPath
SALERAS, 2016-12-12 18:38:40

How to extract text from a span using xpath?

hello, i have a string


span ng-if="!priceRanges.priceNotAvailable" ng-bind-html="formatPriceRange(priceRanges.current)" class="ng-binding ng-scope">$89.99

I'm trying to get text, but it returns empty
//span[@class='ng-binding ng-scope']

and the most interesting thing is that by inserting the code here, it really displays exactly the numbers

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question