def _get_page_elements(self):
        """Return page elements and page objects of this page object

        :returns: list of page elements and page objects
        """
        page_elements = []
        for attribute, value in list(self.__dict__.items()) + list(self.__class__.__dict__.items()):
            if attribute != 'parent' and isinstance(value, CommonObject):
                page_elements.append(value)
        return page_elements
def _get_page_elements ( self ) : page_elements = [ ] for attribute , value in list ( self . __dict__ . items ( ) ) + list ( self . __class__ . __dict__ . items ( ) ) : if attribute != 'parent' and isinstance ( value , CommonObject ) : page_elements . append ( value ) return page_elements
Return page elements and page objects of this page object

        :returns: list of page elements and page objects