Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
The Appium Vega Driver uses a session-based model to manage the connection between your test automation scripts and the Appium Server. Create and configure an Appium session with appropriate capabilities to automate your apps.

Understand the capabilities for Appium session

Before you create your first session, it’s important to understand the capabilities for each Appium session. The Appium session is the fundamental unit of interaction between your test code and the Appium Server. When you create a new session, you’re establishing a connection to the server and defining the target device, platform, and the app you want to automate.

Required capabilities

The following table lists the specific device, platform, and app you want to automate to establish a successful connection.

Optional capability

You can add appURL as optional capability to specify which app to launch during test run. Example values:
  • com.amazon.frenchpress.main
  • com.amazon.youtube.main

Create an Appium session

To create an Appium session for a Fire TV Stick, complete the following steps.
  1. Get your device serial number.
  2. Set up capabilities.
  3. Call the driver.createSession() method and pass the desired capabilities. Example:

Example Appium session

Here’s how an Appium session looks:

End your Appium session

To end an Appium session and release any associated resources, call the driver.quit(). Failing to end your session properly can lead to resource leaks and issues with subsequent test runs.
Last modified on October 31, 2025