Select the direct child(ren) from the UI element(s) given by the query expression, see ``QueryCondition`` for
        more details about the selectors.

        Warnings:
            Experimental method, may not be available for all drivers.

        Returns:
            :py:class:`UIObjectProxy <poco.proxy.UIObjectProxy>`: a new UI proxy object representing the direct parent
            of the first UI element.

def parent(self):
        """
        Select the direct child(ren) from the UI element(s) given by the query expression, see ``QueryCondition`` for
        more details about the selectors.

        Warnings:
            Experimental method, may not be available for all drivers.

        Returns:
            :py:class:`UIObjectProxy <poco.proxy.UIObjectProxy>`: a new UI proxy object representing the direct parent
            of the first UI element.
        """

        sub_query = build_query(None)  # as placeholder
        query = ('^', (self.query, sub_query))
        obj = UIObjectProxy(self.poco)
        obj.query = query
        return obj