bs4.PageElement.insert_after

PageElement.insert_after(successor)[source]

Makes the given element the immediate successor of this one.

The two elements will have the same parent, and the given element will be immediately after this one.