
npm install appium-kaneai-code-runner!KaneAI - AI Testing Assistant
An Appium plugin that provides GenAI-Native test automation capabilities for mobile applications, with a focus on self-healing automation. This plugin integrates with the KaneAI API to provide intelligent solutions for test automation challenges.
- Self-healing Automation: Automatically finds alternative locators when elements can't be found, reducing test flakiness and maintenance
- GenAI-Native Operation Resolution: Uses KaneAI API to resolve operations that can't be performed with traditional approaches
- Cross-platform Support: Works seamlessly with both Android and iOS platforms
- Special UI Element Handling: Custom handling for complex UI elements like SeekBars, NumberPickers, and iOS pickers
- Vision-based Element Finding: Uses AI vision capabilities to locate elements when traditional locators fail
- Metadata-driven Execution: Supports intent-based operation execution through metadata
The architecture diagram is available in the architecture.md file.
Install the plugin:
``bash`
appium plugin install --source=npm appium-kaneai-code-runner
Activate the plugin for local runs:
`bash`
appium server --base-path /wd/hub --use-plugins=kaneai-code-runner
`bashInstall the plugin
npm install
npm run build
Configuration
The plugin requires the following environment variables:
-
LT_USERNAME: Your LambdaTest username
- LT_ACCESS_KEY: Your LambdaTest access key
- AUTOMIND_URL: KaneAI API URL
- ORG_ID: Your organization ID
- TEST_ID: Test ID for tracking
- COMMIT_ID`: Commit ID for tracking