* add: row, column, depth, etc. for UiObject

* add: row, column, depth, etc. conditions for UiGlobalSelector
* add: filter for UiGlobalSelector
This commit is contained in:
hyb1996
2017-11-05 17:42:41 +08:00
parent 99466e2c33
commit 0b884f5747
7 changed files with 205 additions and 45 deletions

View File

@@ -125,7 +125,7 @@ public class UiSelector extends UiGlobalSelector {
@NonNull
public UiObject untilFindOne() {
UiObjectCollection collection = untilFind();
return new UiObject(collection.get(0).getInfo());
return collection.get(0);
}
@ScriptInterface