next_sibling property

next_sibling property

Returns the node immediately following the specified one in their parent’s Node.child_nodes, or returns null if the specified node is the last child in the parent element.

Remarks

Reference:

DOM Standard.

Definition:

@property
def next_sibling(self):
    ...

See Also