returns all public BasePageElements grouped by this element and it parent(s)
        :rtype: list[(str, BasePageElement)]

def all_elements(self):
        """returns all public BasePageElements grouped by this element and it parent(s)
        :rtype: list[(str, BasePageElement)]
        """
        return [(k, getattr(self, k)) for k, v in get_members_safety(self.__class__)
                if not k.startswith("_") and isinstance(v, (BasePageElement,))]