0.0.7 • Published 4 months ago
appium-kaneai-code-runner v0.0.7
Appium KaneAI Code Runner Plugin
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.
Features
- 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
Architecture
The architecture diagram is available in the architecture.md file.
Installation - Production
Install the plugin:
appium plugin install --source=npm appium-kaneai-code-runner
Activate the plugin for local runs:
appium server --base-path /wd/hub --use-plugins=kaneai-code-runner
Installation - Local Devlopment
# Install the plugin
npm install
npm run build
# Start Appium server with the plugin
npm run run-server
Configuration
The plugin requires the following environment variables:
LT_USERNAME
: Your LambdaTest usernameLT_ACCESS_KEY
: Your LambdaTest access keyAUTOMIND_URL
: KaneAI API URLORG_ID
: Your organization IDTEST_ID
: Test ID for trackingCOMMIT_ID
: Commit ID for tracking