appium-testing
FreeNo executable scriptsNot checkedUse 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…
by testland★ 18 GitHub starsAbout 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
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
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
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
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
by Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
by Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
by Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
by Anthropic