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

安卓版本9,获取不到界面的元素 #44

Open
xiihou opened this issue Jan 27, 2024 · 2 comments
Open

安卓版本9,获取不到界面的元素 #44

xiihou opened this issue Jan 27, 2024 · 2 comments

Comments

@xiihou
Copy link

xiihou commented Jan 27, 2024

比如界面有个按钮已关注,SF.text("已关注").findFirst() 获取为空

@Krosxx
Copy link
Owner

Krosxx commented Jan 27, 2024

1,先打印界面节点信息,确认可查找到。
2,如果满足条件,使用 SF.compat.. 开启兼容模式

@xiihou
Copy link
Author

xiihou commented Jan 27, 2024

可以了,我改了那个accessibilityEventTypes 就可以获取了 谢谢了

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

2 participants