Skip to content
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

d(resourceId='xxx').exists定位的时候会有一定概率出错。 #22

Open
codeskyblue opened this issue Dec 3, 2018 · 1 comment

Comments

@codeskyblue
Copy link
Member

出现时机是,界面刚刷新的时候,resourceId有很低的概率无法获取到。
怀疑是 AccessibilityEventListener 影响的
https://github.com/openatx/android-uiautomator-server/blob/master/app/src/androidTest/java/com/github/uiautomator/stub/AccessibilityEventListener.java#L42

@codeskyblue
Copy link
Member Author

2.0.0 提供了接口,可以关闭 setToastListener(false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant