Returns a list of a root
element's descendants matching the given selector.
If the root
element itself matches the selector, it is also included in the returned list.
The following elements are ignored, even if they match the selector:
root
.To include all elements matching the selector, use up.element.subtree()
.
The CSS selector to match.