note I coined the term horizontal depth to measure the sub-size node inside a tree.
So, imagine that xpath will have something like / html / table / tbody / tr / td and "horizontal depth" 5
I am trying to figure out if there is a way to identify and select elements based on this horizontal depth.
How can I find the maximum depth?
source share