select_attr

[internal] returns elements that have the specified attribute and the given value.

Arguments

Source


def select_attr(self, attr, value):
    return self._nodes.select_attr(attr, value)