allow wildcards in appWaitActivity
See original GitHub issueIssue
I have a trouble launching my android app on Appium 1.6.0 or later.
[ADB] Error: Activity used to start app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity
I understand that appWaitActivity
is required and the problem may be fixed by setting a correct activity, however, I think it is very difficult to set all activities to appWaitActivity
for a number of reasons:
- My app includes an Ad SDK which contains multiple activities.
- I tried
driver.currentActivity();
but it returns various values. It may be a timing issue, though. - This Ad SDK is developed by an outside developer so there is a possibility that the activity name of the SDK may be changed.
It would be great if Appium provide an option to skip the activity check or a setting to specify appWaitActivity like 'com.mydomain.*, com.sdkdomain.*'
.
Environment
- appium 1.6.0 or later
- Desktop OS/version used to run Appium:Mac OS X El Capitan
- Node.js version (unless using Appium.app|exe): v6.9.2
- Mobile platform/version under test: android
- Real device or emulator/simulator: both
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Activity startup - appium - Read the Docs
Also, Appium allows to use wildcards while setting appWaitActivity value. This might be particularly useful if the activity name is generated dynamically or ......
Read more >Desired Capabilities - Appium
appWaitActivity, Activity name/names, comma separated, for the Android activity you want to wait for. By default the value of this capability is the...
Read more >Robotframework + AppiumLibrary: "Open Application" with two ...
You can use wildcards in the AppWaitActivity to wait for your application: example: //the code bellow will work for YourApplication.
Read more >HOW TO GET & USE WINTER WILDCARDS SWAPS TOKENS!
... ALL WINTER WILDCARDS SWAPS REWARDS - 2 Tokens - 87 Winter Wildcards Trippier 3 Tokens - 81+ x11 Rare Players Pack 5...
Read more >Unable to start application on this device: an unknown server-side ...
Set appWaitPackage to * - a wildcard might allow Appium to run with any ... You can also try setting appWaitActivity just to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This seems like a good feature to have, to be able to send in a wildcard. Adding it to our work.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.