update tutorial url

This commit is contained in:
hyb1996
2018-02-01 14:28:16 +08:00
parent 1205fc08e3
commit a06fca1971
3 changed files with 7 additions and 4 deletions

View File

@@ -169,6 +169,10 @@ public class UiSelector extends UiGlobalSelector {
return uiObjectCollection.get(0);
}
public UiObject findOnce() {
return findOnce(0);
}
public UiObject findOnce(int index) {
UiObjectCollection uiObjectCollection = find();
while (uiObjectCollection.empty()) {