contains

[internal] returns elements that are containing the text.

Arguments

Source


def contains(self, text):
    return self._nodes.contains(text)