How to handle pure native elements using detox

左心房为你撑大大i 提交于 2021-01-27 18:00:43

问题


I'm using detox but I need to handle my native login page using detox.


回答1:


Detox supports native elements. In order to interact with them, you need to set an accessibilityIdentifier to the elements you want to interact with, and then the normal by.id() API will work as expected.



来源:https://stackoverflow.com/questions/59714311/how-to-handle-pure-native-elements-using-detox

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!