@classmethod
def select_labelled(cls, label):
    """Returns an XPath to find an HTML <select> referred to by a <label> that contains the text in `label`."""
    return cls(
        '//select[@id=//label[normalize-space(node())=normalize-space("%s")]/@for]'
         % label)
