previous_element_sibling property

previous_element_sibling property

Returns the previous sibling element node of this element. null if this element has no element sibling nodes that come before this one in the document tree.

Definition:

@property
def previous_element_sibling(self):
    ...

See Also