html - Chrome Console get values from xpath array -


i'm using google chrome console array of elements have class of attrvalue. i'm using:

$x('//*[@class="attrvalue"]'); 

and output:

<td class="attrvalue">transway 1a</td>, <td class="attrvalue">northbound/westbound</td>, <td class="attrvalue">facing west</td> 

it works great array of elements trying array of values within elements. appreciated.

get text():

$x('//*[@class="attrvalue"]/text()'); 

Comments

Popular posts from this blog

angularjs - Showing an empty as first option in select tag -

python - argument 2 to map() must support iteration -

javafx - How to wait cancellation of task after Service#cancel? -