New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[💡 Feature]: add new mobile custom command to relaunch the app #12626
Comments
It would be actually nice if this could be a native Appium command. I wonder what Appium does when calling the refresh WebDriver command? We could just run above code in the Appium server. @jlipps what do you think? |
I guess there's no reason it couldn't be in Appium itself. What do you think @mykola-mokhnach? |
I don't see how such API could look like. In Android and iOS extensions to run apps work differently, not saying about other drivers. For example, in order to restart an iOS app one could perform |
Ideally it would be great if we could the operation of restarting an app within the refresh WebDriver command ( |
Unfortunately it's not so simple. The current activity might not be launchable. Also, we don't know what/if we need to apply any additional arguments or environment variables on startup. |
In this case the
Is there a way to pull these information before we shut down the app and use them when starting the app again? |
Is your feature request related to a problem?
The
launchApp
command is deprecated and should be replaced with an alternativeDescribe the solution you'd like.
This is a sample we use for our native demo app. We need to check the bundleId/packageName of the current app under test.
Describe alternatives you've considered.
No response
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: