def __getitem__(self, index):
        if not isinstance(index, int):
            return self.first[index]
        try:
            return super(ElementList, self).__getitem__(index)
        except __HOLE__:
            raise ElementDoesNotExist(
                u'no elements could be found with {0} "{1}"'.format(
                    self.find_by, self.query))
dataset/ETHPy150Open cobrateam/splinter/splinter/element_list.py/ElementList.__getitem__