@classmethod
def table_with_summary(cls, text):
    """Returns an XPath to find an HTML <table summary='...'> matching the text in `text` in its summary attribute value."""
    return cls('//table[@summary="%s"]' % text)
