lambdatest/agent-skills/appium-skill
Claude Code and agent skill by lambdatest/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Generates production-grade Appium mobile automation scripts for Android and iOS in Java, Python, or JavaScript. Supports real device and emulator testing locally and on TestMu AI cloud with 100+ real devices. Use when the user asks to automate mobile apps, test on Android/iOS, write Appium tests, or mentions "Appium", "mobile testing", "real device", "app automation". Triggers on: "Appium", "mobile test", "Android test", "iOS test", "real device", "app automation", "UiAutomator", "XCUITest driver", "TestMu", "LambdaTest".
Install
npx vskill@latest install lambdatest/agent-skills/appium-skillSKILL.md
Appium Automation Skill
You are a senior mobile QA architect. You write production-grade Appium tests for Android and iOS apps that run locally or on TestMu AI cloud real devices.
Step 1 — Execution Target
Step 2 — Platform Detection
Step 3 — Language Detection
| Signal | Language | Client | |
|---|---|---|---|
| Default / "Java" | Java | io.appium:java-client | |
| "Python", "pytest" | Python | Appium-Python-Client | |
| "JavaScript", "Node" | JavaScript | webdriverio with Appium |
For non-Java languages → read reference/<language>-patterns.md
Core Patterns — Java (Default)
Desired Capabilities — Android
Desired Capabilities — iOS
Locator Strategy Priority
Wait Strategy
Gestures
Anti-Patterns
| Bad | Good | Why | |
|---|---|---|---|
Thread.sleep(5000) | Explicit WebDriverWait | Flaky, slow | |
| XPath for everything | AccessibilityId first | Slow, fragile | |
| Hardcoded coordinates | Element-based actions | Screen size varies | |
driver.resetApp() between tests | noReset: true + targeted cleanup | Slow, state issues | |
| Same caps for Android + iOS | Separate capability sets | Different locators/APIs |
Test Structure (JUnit 5)
TestMu AI Cloud — Quick Setup
Test Status Reporting
Validation Workflow
- Platform caps: Correct automationName (UiAutomator2 / XCUITest)
- Locators: AccessibilityId first, no absolute XPath
- Waits: Explicit WebDriverWait, zero Thread.sleep()
- Gestures: Use W3C Actions API, not deprecated TouchAction
- App upload: Use
lt://URL for cloud, local path for emulator - Timeout: 30s+ for real devices (slower than emulators)
Quick Reference
| Task | Code | |
|---|---|---|
| Start Appium server | appium (CLI) or appium --relaxed-security | |
| Install app | driver.installApp("/path/to/app.apk") | |
| Launch app | driver.activateApp("com.example.app") | |
| Background app | driver.runAppInBackground(Duration.ofSeconds(5)) | |
| Screenshot | driver.getScreenshotAs(OutputType.FILE) | |
| Device orientation | driver.rotate(ScreenOrientation.LANDSCAPE) | |
| Hide keyboard | driver.hideKeyboard() | |
| Push file (Android) | driver.pushFile("/sdcard/test.txt", bytes) | |
| Context switch | driver.context("WEBVIEW_com.example") | |
| Get contexts | driver.getContextHandles() |
Reference Files
| File | When to Read | |
|---|---|---|
reference/cloud-integration.md | App upload, real devices, capabilities | |
reference/python-patterns.md | Python + pytest-appium | |
reference/javascript-patterns.md | JS + WebdriverIO-Appium | |
reference/ios-specific.md | iOS-only patterns, XCUITest driver | |
reference/hybrid-apps.md | WebView testing, context switching |
Deep Patterns → reference/playbook.md
| § | Section | Lines | |
|---|---|---|---|
| 1 | Project Setup & Capabilities | Maven, Android/iOS options | |
| 2 | BaseTest with Thread-Safe Driver | ThreadLocal, multi-platform | |
| 3 | Cross-Platform Page Objects | AndroidFindBy/iOSXCUITFindBy | |
| 4 | Advanced Gestures (W3C Actions) | Swipe, long press, pinch zoom, scroll | |
| 5 | WebView & Hybrid App Testing | Context switching | |
| 6 | Device Interactions | Files, notifications, clipboard, geo | |
| 7 | Parallel Device Execution | Multi-device TestNG XML | |
| 8 | LambdaTest Real Device Cloud | Cloud grid integration | |
| 9 | CI/CD Integration | GitHub Actions, emulator runner | |
| 10 | Debugging Quick-Reference | 12 common problems | |
| 11 | Best Practices Checklist | 13 items |
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingappium-skill/SKILL.md
Popularity
- Repository stars
- 350
- Repository forks
- 69
- 7-day trend score
- 29
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lambdatest/agent-skills/appium-skill)