appium-testing
БесплатноБез исполняемых скриптовНе проверен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…
от testland★ 18 звёзд на GitHubОб этом скилле
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
Установить appium-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл appium-testing?
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.
Как установить скилл appium-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл appium-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от 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…
от 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…
от Anthropic