Agent Skill · Appium

appium-troubleshooting

Diagnose common Appium failures with a driver-scoped flow for UiAutomator2 or XCUITest, covering startup, driver readiness, WebDriverAgent, and element lookup issues

Provider: Appium Path in repo: skills/appium-troubleshooting/SKILL.md

Skill body

appium-troubleshooting

Goal

Help the agent narrow a single-driver Appium failure into a small set of common buckets, apply the smallest plausible fix, and re-run the failing check until the root cause is confirmed or clearly handed back to the user.

Decision Logic

Instructions

  1. Capture the failing command and lock the driver scope Record the exact error text, platform, automation driver, and relevant capabilities before changing anything. If the driver is still unclear, ask for one of these before continuing:
    • the desired capabilities block containing platformName and appium:automationName
    • the Appium server log lines from POST /session through the first real error after createSession If the client hides capabilities, rerun one failing session with Appium server logs enabled and capture that window before troubleshooting further.
  2. Run baseline checks only when the error message alone is not enough If the error text already points to a known issue, open the matching driver-specific official reference first and confirm the closest symptom before changing anything. Then collect what is needed:
    • appium -v and appium driver list --installed --json (fallback to appium driver list --installed if --json is unsupported) — to confirm driver presence and version.
    • UiAutomator2: adb devices -l and appium driver doctor uiautomator2 — only if the error suggests a device connectivity or prerequisite problem.
    • XCUITest: xcodebuild -version and appium driver doctor xcuitest — only if the error suggests a build, signing, or toolchain problem. If any doctor or prerequisite check fails, switch to the matching setup skill before deeper troubleshooting. Use references/community-search.md only after the relevant official reference does not explain the exact stack trace or symptom.
  3. Open only the references that match the selected driver and symptom Do not load both driver branches in one run. Start with the most direct reference for the observed symptom and only expand if that file does not explain the behavior.

  4. Apply one targeted change, then re-run the smallest failing check Prefer narrow fixes such as capability corrections, driver cleanup, device reset, or locator updates before broader environment churn. Re-run the doctor command for prerequisite issues, the failing session launch for startup issues, or the failing locator lookup for element issues.

  5. Use official docs first, community second Official references for this skill:
    • https://appium.io/docs/en/latest/
    • https://github.com/appium/appium-uiautomator2-driver
    • https://appium.github.io/appium-xcuitest-driver/latest/
    • https://github.com/appium/appium-xcuitest-driver Use discuss.appium.io only after the official references are exhausted, searching with exact error text plus driver name and platform version.
  6. Report the outcome with command evidence Include the baseline checks you ran, the change you made, and the smallest reproduction or check you re-ran to confirm the result.

Completion Criteria

Mark troubleshooting complete only when one of these is true:

Constraints

Skill frontmatter

metadata: {"last_modified" => "Thu, 19 Mar 2026 12:00:00 GMT"}

Work with this as data

Every skill here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for agent skills

4 MCP tools reach this
  • find_skillsBrowse and filter every skill in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This skill
curl "https://apis.io/api/v1/skills/appium-troubleshooting"
All agent skills
curl "https://apis.io/api/v1/skills?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.