- 官网
https:///reference/android/support/test/uiautomator/UiSelector.html - Uiautomator 定位
写法:ele = new UiSelector().text(“text")
滚动查找:
new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text(“查找的 文本”).instance(0));