@classmethod
def link_starting_with_text(cls, text):
    """Returns an XPath to find an HTML <a> containing text that starts with the contents of `text`."""
    return cls('//a[starts-with(node(), "%s")]' % text)
