Skip to content
OpenSmartRoute
Skillv1.0.0

wait_for_element

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

by AMFbot-Gz(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from AMFbot-Gz/LaRuche (skills/core/wait_for_element/SKILL.md). Install upstream with npx skills add AMFbot-Gz/LaRuche --skill wait_for_element. Copyright stays with the author.

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 }

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/amfbot-gz-laruche-wait-for-element/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

amfbot-gz-laruche-wait-for-element.ocm.jsonjson
{
  "ocm": "1",
  "id": "amfbot-gz-laruche-wait-for-element",
  "kind": "skill",
  "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",
  "publisher": "AMFbot-Gz",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "accessibility",
      "semantic",
      "wait",
      "computer-use",
      "ui",
      "synchronization",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Attend qu'un élément UI apparaisse sur l'écran (polling AX tree) avec timeout configurable — utile après navigation ou chargement"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/AMFbot-Gz/LaRuche",
      "path": "skills/core/wait_for_element/SKILL.md",
      "ref": "4550c426c479b5d81d44e6f62a045889d79cf7d8",
      "url": "https://github.com/AMFbot-Gz/LaRuche/blob/4550c426c479b5d81d44e6f62a045889d79cf7d8/skills/core/wait_for_element/SKILL.md",
      "key": "AMFbot-Gz/LaRuche/skills/core/wait_for_element/SKILL.md"
    }
  },
  "instructions": "# wait_for_element\n\nInterroge l'arbre AX à intervalles réguliers jusqu'à ce que l'élément recherché apparaisse ou que le timeout expire.\n\n## Params\n\n- `query` (string, requis) : description de l'élément attendu\n- `timeout` (float, optionnel) : secondes max d'attente. Défaut: 10.0\n- `interval` (float, optionnel) : intervalle de polling en secondes. Défaut: 0.5\n- `app` (string, optionnel) : app cible\n\n## Retour\n\n```json\n{ \"success\": true, \"found\": true, \"element\": {...}, \"elapsed\": 1.5 }\n```",
  "cost": {
    "context_tokens": 123
  }
}

Fetch it by URL: GET /api/v1/registry/amfbot-gz-laruche-wait-for-element/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.