parameters: (self, timeout=None, retries=None, **kwargs)
return_statement: return timeout_retry.WaitFor(node_found)
docstring: Wait for a node matching a given criteria to appear on the screen.
  
      Args:
        timeout: A number of seconds to wait for the matching node to appear.
        retries: Number of times to retry in case of adb command errors.
        For other args, to specify the search criteria, see _UiNode._Find.
      Returns:
        The UI node instance found.
      Raises:
        device_errors.CommandTimeoutError if the node is not found before the
        timeout.
docstring_summary: Wait for a node matching a given criteria to appear on the screen.
docstring_tokens: Wait for a node matching a given criteria to appear on the screen .
function: def WaitForUiNode(self, timeout=None, retries=None, **kwargs):
      """Wait for a node matching a given criteria to appear on the screen.
  
      Args:
        timeout: A number of seconds to wait for the matching node to appear.
        retries: Number of times to retry in case of adb command errors.
        For other args, to specify the search criteria, see _UiNode._Find.
      Returns:
        The UI node instance found.
      Raises:
        device_errors.CommandTimeoutError if the node is not found before the
        timeout.
      """
      def node_found():
        return self.GetUiNode(**kwargs)
  
      return timeout_retry.WaitFor(node_found)
function_tokens: def WaitForUiNode ( self , timeout = None , retries = None , * * kwargs ) : def node_found ( ) : return self . GetUiNode ( * * kwargs ) return timeout_retry . WaitFor ( node_found )