I want to get the attribute's content with this xPath command
"//*[@id="navbarleft"]/div[1]/ul[3]/li[2]/@class"
but it seems like it return the object attribute @class
rather than it's content:
I want to get the attribute's content with this xPath command
"//*[@id="navbarleft"]/div[1]/ul[3]/li[2]/@class"
but it seems like it return the object attribute @class
rather than it's content:
Use string function. add your xpath in string function
string(//*[@id='navbarleft']/div[1]/ul[3]/li[2]/@class)