method

next_element

v3.2.13 - Show latest stable - Class: HTML::Selector
next_element(element, name = nil)
public

Return the next element after this one. Skips sibling text nodes.

With the name argument, returns the next element with that name, skipping other sibling elements.