Is there a way to find the number of nodes selected with an xpath in the Chrome console?
I managed to select a group of nodes using the xpath:
$x("//*[@rel='noopener noreferrer']")
in the Chrome console. However, I am unable to determine the count of nodes selected using the count function in Chrome with:
$x(count("//*[@rel='noopener noreferrer']"))
Interestingly, the count function works fine in Firefox using:
(//*[@rel='noopener noreferrer'])
If anyone could assist me in obtaining the count using the Chrome console, it would be greatly appreciated.