g1joshi/agent-skills/appium
Claude Code and agent skill by g1joshi/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Expert Appium mobile automation covering iOS, Android, and cross-platform UI testing. Use when automating mobile app workflows, end-to-end device testing, or configuring Appium drivers.
Install
npx vskill@latest install g1joshi/agent-skills/appiumSKILL.md
The same SKILL.md was published earlier as g1joshi/agent-skills/appium.
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
- Cross-Platform Mobile UI Automation: Automating functional end-to-end tests across native iOS, Android, and mobile web browsers.
- Real Device Cloud Grid Testing: Executing mobile regression suites across device clouds (BrowserStack, Sauce Labs, AWS Device Farm).
- Hybrid & Native App Interactions: Testing apps that transition between native UI components and embedded WebViews.
- Physical Hardware Button Testing: Automating device rotation, biometric dialogs, network toggles, and volume keys.
Quick Start
Core Concepts
W3C WebDriver Protocol for Mobile
Appium translates standard W3C WebDriver HTTP wire protocol commands into platform-specific native automation drivers (XCUITest for iOS, UIAutomator2 for Android):
Appium 2.0 Desired Capabilities (Options Classes)
Modern Appium 2.x replaces generic capability maps with strongly-typed platform options:
Mobile Element Locators & Explicit Waits
Locating elements safely using accessibility identifiers and explicit condition waits:
Common Patterns
Explicit Wait for Dynamic Mobile Elements
Problem: Network or animation lag causes NoSuchElementException when interacting with mobile elements immediately after screen transitions.
Solution: Use WebDriverWait with expected conditions rather than static sleeps:
Best Practices
Do:
- Always Prefer Accessibility IDs (
~locator): Coordinate with mobile developers to assignaccessibilityIdentifier(iOS) andcontentDescription(Android). - Use Appium 2.x Independent Drivers: Install only needed drivers (
appium driver install uiautomator2) to keep server installations lightweight. - Implement Explicit Waits Instead of Static Sleep: Use
.waitForDisplayed()rather than arbitrarysleep(5000)pauses. - Reset State with
noReset/fullResetIntelligently: UsenoReset: trueto avoid reinstalling the app on every single test case.
Don't:
- Use XPath locators for mobile hierarchies: XPath traversal on mobile UI trees is extremely slow and brittle across OS updates.
- Hardcode absolute file paths: Use environment variables or relative paths for APK and IPA binaries.
- Ignore Appium Inspector: Use the official Appium Inspector GUI to verify element accessibility hierarchies and attributes.
Troubleshooting
| Error | Cause | Solution | |
|---|---|---|---|
NoSuchDriverException / Driver not installed | Missing platform driver in Appium 2.x server. | Run appium driver install uiautomator2 or appium driver install xcuitest. | |
Original error: Could not find 'adb.html' | Android SDK ANDROID_HOME or PATH not set. | Export ANDROID_HOME and add $ANDROID_HOME/platform-tools to system PATH. | |
WebDriverException: Session not created | Capabilities mismatch with connected device/emulator. | Verify platformVersion, deviceName, and automationName match connected hardware. |
References
Security
- Security scanPassed, 90 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 repositoryCheckingskills/testing/appium/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (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/g1joshi/agent-skills/appium)