AMFbot-Gz

wait_for_element

0
0
# Install this skill:
npx skills add AMFbot-Gz/ghost-os-ultimate --skill "wait_for_element"

Install specific skill from multi-skill repository

# Description

Attend qu'un élément UI apparaisse sur l'écran (polling AX tree) avec timeout configurable — utile après navigation ou chargement

# SKILL.md


name: wait_for_element
description: Attend qu'un élément UI apparaisse sur l'écran (polling AX tree) avec timeout configurable — utile après navigation ou chargement
version: 1.0.0
tags: [accessibility, semantic, wait, computer-use, ui, synchronization]


wait_for_element

Interroge l'arbre AX à intervalles réguliers jusqu'à ce que l'élément recherché apparaisse ou que le timeout expire.

Params

  • query (string, requis) : description de l'élément attendu
  • timeout (float, optionnel) : secondes max d'attente. Défaut: 10.0
  • interval (float, optionnel) : intervalle de polling en secondes. Défaut: 0.5
  • app (string, optionnel) : app cible

Retour

{ "success": true, "found": true, "element": {...}, "elapsed": 1.5 }

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.