<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_info_messages(self):
 """ Method returning info messages. Should return list of messages. By default it find element with class ``info`` and theirs value in attribute ``info`` or text if that attribute is missing. You can change this method accordingly to your app. Info messages returned from this method are used in decorators :py:func:`.expected_info_messages` and :py:func:`.allowed_info_messages`. """

        try:
            info_elms = self.get_elms(class_name='info')
        except NoSuchElementException:
            return []
        else:
            try:
                info_values = [info_elm.get_attribute('info') for info_elm in info_elms]
            except Exception:  # pylint: disable=broad-except
                info_values = [info_elm.text for info_elm in info_elms]
            finally:
                return info_values