Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

appium-testing

FreeNo executable scriptsNot checked

Use for any question or task about Appium mobile UI tests, even a quick fix, including tests that break after an Appium upgrade and suites that pass on…

testlandby testland★ 18 GitHub stars

About this skill

appium-testing

The driver model is the load-bearing concept: Appium itself is the WebDriver protocol; per-platform automation is a driver (XCUITest driver talks to iOS, UiAutomator2 / Espresso to Android, Mac2 to macOS, Windows to Windows desktop). Client libraries exist for JavaScript, Python, Java, Ruby, and .NET (per appium-docs).

When to use

  • A team needs one test suite to cover iOS + Android.
  • The product is multi-platform (mobile + desktop + TV) and one framework should drive all of them.
  • Existing Selenium expertise transfers (same WebDriver mental model).
  • Device-farm integration matters (BrowserStack / Sauce Labs / AWS Device Farm all support Appium natively).

If the app is iOS-only, xcuitest-suite is lighter (no external server). For React Native specifically, detox-testing is faster.

Step 1 - Install Appium server + driver

Appium 3 is current (3.9.0 on npm, 3 Nov 2026). Per migrating-2-to-3 it needs Node ^20.19.0 || ^22.12.0 || >=24.0.0 and npm 10 or newer.

npm install -g appium

# Install per-platform drivers:
appium driver install xcuitest         # iOS
appium driver install uiautomator2     # Android
appium driver install espresso         # Android (alternative; gray-box)
appium driver install mac2             # macOS desktop
appium driver install windows          # Windows desktop

# Verify:
appium driver list
appium driver doctor uiautomator2   # checks ANDROID_HOME, JDK, SDK tools

Per uia2-quickstart, appium driver doctor reporting "0 required fixes needed" means the Android setup is complete; it needs the Android SDK platform tools, ANDROID_HOME and a JDK with JAVA_HOME. Drivers are versioned separately from the server: after a server upgrade, run appium driver update <name> too.

Step 2 - Start the server

appium                       # listens on http://127.0.0.1:4723/
appium --allow-insecure=uiautomator2:adb_shell   # opt-in risky features

Clients connect to http://localhost:4723 with no /wd/hub suffix (that suffix went away with Appium 2). Per migrating-2-to-3, Appium 3 "makes the scope prefix mandatory" on insecure feature flags: adb_shell alone now throws; write uiautomator2:adb_shell or *:adb_shell.

Step 3 - Author a test (JavaScript example)

import { remote } from 'webdriverio';

const capabilities = {
  platformName: 'Android',
  'appium:automationName': 'UiAutomator2',
  'appium:deviceName': 'Android Emulator',
  'appium:app': '/path/to/app.apk',
};

describe('Cart flow', () => {
  let driver;

  before(async () => {
    driver = await remote({
      hostname: 'localhost',
      port: 4723,
      capabilities,
    });
  });

  after(async () => {
    await driver.deleteSession();
  });

  it('adds an item to cart', async () => {
    const addButton = await driver.$('id=add_to_cart_button');
    await addButton.click();

    // WebdriverIO's expect retries until the text matches or times out
    await expect(driver.$('id=cart_count')).toHaveText('1');
  });
});

The automationName capability picks the driver: UiAutomator2 (Android), XCUITest (iOS), Espresso (Android gray-box), Mac2, Windows.

Step 4 - Capabilities catalog

Capability Use
platformName iOS / Android / Mac / Windows
appium:automationName Driver name (XCUITest / UiAutomator2 / Espresso etc.)
appium:deviceName Logical device name (Simulator / Emulator / specific)
appium:platformVersion OS version (e.g. 14.0)
appium:app Path to .apk / .ipa
appium:bundleId / appium:appPackage Pre-installed app
appium:noReset true: don't stop the app or clear its data at session start (default false)
appium:fullReset true: uninstall and reinstall the app for every session (default false; slow)
appium:newCommandTimeout Server idle timeout (default 60s)

For device-farm runs, capabilities also include the farm's authentication tokens / device-pool selection.

Android (UiAutomator2) traps: slo

Full SKILL.md on GitHub

Install appium-testing in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

.tessl-plugin/plugin.jsonevals/app-state-leaks-between-tests/criteria.jsonevals/app-state-leaks-between-tests/task.mdevals/appium-ios-locators/criteria.jsonevals/appium-ios-locators/task.mdevals/appium-ios-parallel/criteria.jsonevals/appium-ios-parallel/task.mdevals/appium-parallel-hybrid/criteria.jsonevals/appium-parallel-hybrid/task.mdevals/appium-uia2-slow-cleanup/criteria.jsonevals/appium-uia2-slow-cleanup/task.mdevals/appium3-raw-http-client/criteria.jsonevals/appium3-raw-http-client/task.mdevals/clean-machine-cannot-run-suite/criteria.jsonevals/clean-machine-cannot-run-suite/task.mdevals/duplicated-ios-android-suites/criteria.jsonevals/duplicated-ios-android-suites/task.mdevals/ios-half-never-runs-in-ci/criteria.jsonevals/ios-half-never-runs-in-ci/task.mdevals/locators-break-on-every-redesign/criteria.jsonevals/locators-break-on-every-redesign/task.mdevals/one-red-test-forty-minutes/criteria.jsonevals/one-red-test-forty-minutes/task.mdevals/session-dies-during-otp-wait/criteria.jsonevals/session-dies-during-otp-wait/task.mdevals/session-rejected-after-server-upgrade/criteria.jsonevals/session-rejected-after-server-upgrade/task.mdevals/shared-suite-only-runs-on-android/criteria.jsonevals/shared-suite-only-runs-on-android/task.mdevals/suite-only-runs-on-one-laptop/criteria.jsonevals/suite-only-runs-on-one-laptop/task.md

FAQ

What does the appium-testing skill do?

Use for any question or task about Appium mobile UI tests, even a quick fix, including tests that break after an Appium upgrade and suites that pass on Android but fail on iOS: one suite for iOS and Android (native or React Native) with XCUITest, UiAutomator2 and Espresso drivers, capabilities, clients in JS, Python, Java, Ruby or .NET, simulators, emulators and device farms.

How do I install the appium-testing skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the appium-testing skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare appium-testing with