children
The command to get the children of the current element.
Last updated
The command to get the children of the current element.
Element.children() -> Elementspy.get("a").children()
---or--- # store in a variable
elements = py.get("ul").children()
---or--- # chain another command
child = py.get("ul").children().first()None
Elements - A list of Elements. The list is empty if no children are found.
Last updated