Closed
Description
This suite of functionality is outdated and confusing and dangerous. We should remove the routes and driver implementations for these. In their place, users should rely on standard Appium session management (new session + caps, delete session), and the now-reliable app management functions (terminateApp, installApp, activateApp, startActivity, etc...)
[update by Kazu]
Alternative
- terminate_app and activate_app to restart the app process
- Other methods: examples:
mobile: terminateApp
,mobile: activateApp
,mobile: launchApp
,mobile: startActivity
- Other methods: examples:
- uninstall/install the app to clean the local data In iOS (iOS does not have clear the local data api, so it requires uninstalling the app to do it)
- For iOS simulators,
mobile: clearApp
could help -> https://appium.github.io/appium-xcuitest-driver/latest/execute-methods/#mobile-clearapp
- For iOS simulators,
- https://github.com/appium/appium-uiautomator2-driver#mobile-clearapp to clear the local data in UIA2
- Espresso driver hasn't supportted resetApp at the beginning
Metadata
Metadata
Assignees
Type
Projects
Status
Done (In 2.0 branch)