Prerequisites
- Install the Vega SDK. The Vega SDK includes the Vega Appium Driver and the Vega Virtual Device. For installation instructions, see Install the Vega SDK.
-
Use a supported version of Node.js.
The Vega Appium Driver supports Node.js 16, 18, 20, and 22. To check your version, run:
-
Check if you have Appium version 2.2.2 installed.
The output shows your installed Appium version, or an error if Appium is not installed.
-
Uninstall previous versions of Appium.
-
Uninstall @appium/types.
Install Appium
To install Appium and its required components for Vega integration, complete the following steps.-
Install the Appium Server 2.2.2.
-
Verify the Appium version.
The output shows
2.2.2, confirming the correct Appium version is installed. -
(Optional) Install @appium/types.
-
Install the Vega Appium Driver.
-
Verify the installation of the Vega Appium Driver.
The output lists the available drivers.
-
Add
vdato the global path. The Vega Device Adapter (VDA) command line utility lets you install, test, and debug your Vega app. For Appium to communicate with the Fire TV device or Vega Virtual Device,vdamust be on your globalPATH. Rather than hardcoding an SDK version, resolve the VDA binary dynamically and add its directory to yourPATH. Add this line to your shell profile (~/.zshrc,~/.bashrc, or equivalent):Reload your shell:Verify the VDA binary:which vdashould resolve to the VDA binary inside your active Vega SDK (for example,.../KeplerCLIVegaDeviceAdaptor-2.0/runtime/bin/vda) rather than the toolbox shim.

