Appium
A comprehensive skill catalog for AI agents
npx -y skills add G1Joshi/Agent-Skills --skill appiumAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Appium mobile app automation. Use for mobile testing.
SKILL.md
1.8 KB, as published. Nobody here has run it
Appium
Appium is an open-source framework for automating native, mobile web, and hybrid applications on iOS, mobile Android, and Windows desktop platforms. It uses the WebDriver protocol.
When to Use
- Real Device Testing: Testing on physical iPhones/Androids.
- Cross-Platform: Write one test (mostly) for both iOS and Android.
- Black-box Testing: Testing the app from the outside (like a user) without needing source code access.
Quick Start (WebdriverIO + Appium)
// wdio.conf.js
capabilities: [
{
platformName: "Android",
"appium:deviceName": "Pixel_3a",
"appium:app": "/path/to.apk",
"appium:automationName": "UiAutomator2",
},
];
// test.js
await $("~Login Button").click(); // Accessibility ID
await $('android=new UiSelector().text("Submit")').click();
Core Concepts
Drivers
Appium uses drivers to interface with underlying frameworks:
- XCUITest: Apple's UI test framework (iOS).
- UiAutomator2: Google's UI test framework (Android).
Appium Inspector
A GUI tool to inspect your mobile app's definition (XML), find element IDs, and record scripts.
Best Practices (2025)
Do:
- Use Accessibility IDs: The most robust way to find elements (
~MyID). Avoid XPath which is slow on mobile. - Use Appium 2.0: The new standard. Driver-based architecture (
appium driver install uiautomator2). - Parallelize: Use device farms (BrowserStack, SauceLabs) for running on multiple devices.
Don't:
- Don't use hard waits: Mobile devices vary widely in speed.
- Don't rely on coordinates: Different screen sizes will break your tests.