Device Interactions
Launch an app on device
Launches an installed app on the device. For iOS, provide the bundleId (e.g., 'com.apple.mobilesafari'). For Android, provide the packageName and optionally the activityName for the main activity. The app must already be installed on the device — use installApp first if needed.
post/sessions/{sessionId}/device/launchApp
Request
- Base URLhttps://api.us-west-1.saucelabs.com/rdc/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
The id of the device session
Request body
Example request
{
"bundleId": "com.apple.XXX",
"packageName": "com.android.XXX",
"activityName": "com.android.XXX.Activity"
}Response
App launched successfully
Changes
No recorded changes to this operation across all 1 revision of this API.