Chrome 控制台从 xpath 数组获取值

Chrome Console get values from xpath array

我正在使用 Google Chrome 控制台获取 class 为 attrValue 的所有元素的数组。这是我正在使用的:

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

这是我的输出:

<td class="attrValue">Transway 1A</td>, <td class="attrValue">Northbound/Westbound</td>, <td class="attrValue">Facing West</td>

获取所有元素的数组效果很好,但我正在尝试获取这些元素中的值的数组。任何帮助将不胜感激。

获取 text():

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