Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98372

Xpath extract extract value from content

$
0
0

I want my selenium webdriver to extract value 170

XPath

//*[contains(@class, '_wtiln _bdn9q _9a071_2MEB_')]/text()[1]

Result what is this xpath selecting image

The error what i get:

InvalidSelectorError: The result of the xpath expression is [object Text]. It should be an element

Viewing all articles
Browse latest Browse all 98372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>