Preferably in Javascript.
[Maybe] iterate through all the nodes and console.log()
its XPath
.
I searched enough and could not find an answer.
Why I need it?
I want to see the coordinates(getBoundingClientRect())
of all leaf nodes of a DOM (means, elements of an HTML).