public interface InteractsWithApps
Modifier and Type | Method and Description |
---|---|
void |
closeApp()
Close the app which was provided in the capabilities at session creation
|
void |
installApp(String appPath)
Install an app on the mobile device
|
boolean |
isAppInstalled(String bundleId)
Checks if an app is installed on the device
|
void |
launchApp()
Launch the app which was provided in the capabilities at session creation
|
void |
removeApp(String bundleId)
Remove the specified app from the device (uninstall)
|
void |
resetApp()
Reset the currently running app for this session
|
void |
runAppInBackground(int seconds)
Runs the current app as a background app for the number of seconds
requested.
|
void launchApp()
void installApp(String appPath)
appPath
- path to app to installboolean isAppInstalled(String bundleId)
bundleId
- bundleId of the appvoid resetApp()
void runAppInBackground(int seconds)
seconds
- Number of seconds to run App in backgroundvoid removeApp(String bundleId)
bundleId
- the bunble identifier (or app id) of the app to removevoid closeApp()
Copyright © 2016. All rights reserved.