-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
android uiautomator enableMultiWindows bug? #500
Comments
Is it native elements? appium-uiautomator2-server/app/src/main/java/io/appium/uiautomator2/utils/AXWindowHelpers.java Lines 86 to 98 in 0111c09
|
Yes ! Native element get roots It should be normal, but is there any problem with appium-ui2-server in generating the page source? Although the page source generation failed, you can get elements with Android native uiselector, provided that you call driver.source before calling findelement to empty windows in ui2-server. The cache. In order to return the element normally. |
Generally the result by Appium depends on https://developer.android.com/reference/android/app/UiAutomation#getWindows() and https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo. A potential reason was they did not retuirn entire page source. allowInvisibleElements and ignoreUnimportantViews also could help https://github.com/appium/appium-uiautomator2-driver/#elements-cannot-be-found |
set enableMultiWindows:true,getPagesource Only return root,use adb shell dump Return to page source normally,Whether it is a bug of appium. test application Wechat!
The text was updated successfully, but these errors were encountered: