Ana içeriğe geç
Versiyon: 1.0.6

Appium Config Generator

Generate Appium/WebDriver capabilities for automated testing with Device Farm.

Automated Testing Configuration

Overview​

The Config Generator helps you create Appium capabilities for connecting to Device Farm. It generates code examples in multiple languages with proper authentication.

Server URL​

Use this URL as your Appium server endpoint:

https://api.rabbitqa.com/df/wd/hub

This endpoint supports the standard WebDriver protocol and is compatible with Appium clients in all languages.

Connection Configuration​

Connect your test framework to Device Farm using these settings:

SettingValue
Hostnameapi.rabbitqa.com
Port443
Protocolhttps
Path/df/wd/hub
Full URLhttps://api.rabbitqa.com/df/wd/hub

Authentication is done via the X-API-Key header or the df:apiKey capability.

Device Farm Capabilities​

In addition to standard Appium capabilities, Device Farm supports these custom capabilities:

CapabilityTypeDefaultDescription
df:apiKeystring-API key for authentication (required)
df:deviceIdstring-Specific device ID (or use appium:udid)
df:resignbooleantrueRe-sign iOS apps before install
df:liveViewbooleanfalseEnable live video streaming during automation
df:recordVideobooleanfalseRecord video of the test
df:recordLogsbooleantrueCapture device logs during test

df:options​

Use the df:options object to organize your test runs with builds, projects, and tags. This metadata appears in the Dashboard and Reports for filtering and grouping.

FieldTypeDescription
buildNamestringBuild identifier (groups sessions into a build)
projectNamestringProject name for categorization
sessionNamestringHuman-readable session label
tagsstring[]Tags for filtering (e.g. ["smoke", "android"])

Example:

{
"platformName": "Android",
"appium:automationName": "UiAutomator2",
"appium:app": "df://file-uuid-here",
"df:apiKey": "YOUR_API_KEY",
"df:options": {
"buildName": "release-2.1.0-build-42",
"projectName": "Regression Tests",
"sessionName": "login-flow-pixel-8",
"tags": ["regression", "android", "login"]
}
}
Build Grouping

Sessions with the same buildName are grouped together in the Dashboard. Use your CI build number or version tag (e.g. v2.1.0-rc1-1234) to track test runs across devices.

Omit buildName for Standalone Sessions

If you don't need build grouping, simply omit buildName. The session will appear as a standalone entry.

App Installation​

Use df:// URLs to install apps from your uploaded files:

{
"appium:app": "df://file-uuid-here"
}

The file ID can be found in the Files section or by using the Config Generator which shows your uploaded apps.

Platform Version Matching​

Use wildcards for flexible version matching:

platformVersionMatchesDoes NOT match
"13"1313.0, 13.0.1, 14
"13.0"13.013, 13.0.1, 13.1
"13.*"13, 13.0, 13.0.1, 13.114, 12.x
"17.1.x"17.1, 17.1.0, 17.1.217, 17.0, 17.2

Tips​

df:// URLs

Use df://fileId in appium:app to install uploaded apps automatically.

iOS Re-signing

Set df:resign: false if your IPA is already signed with the correct profile.

Device Selection

Use df:deviceId or appium:udid for specific device, or leave empty for auto-selection.

Auto Bundle ID

If you provide appium:app, we'll extract and set bundleId/appPackage automatically.