def attrs(self, attribute_name):
        desc = 'attrs({!r})'.format(attribute_name)
        return self.map(lambda el: el.get_attribute(attribute_name), desc).results
Retrieve HTML attribute values from the elements matched by the query.
dataset/ETHPy150Open edx/bok-choy/bok_choy/query.py/BrowserQuery.attrs