What I want to do is scrolling horizontally in a tab that doesn’t have a unique ID. I have code how to scroll using id and textmatches like this example:
driver.findElement (MobileBy.AndroidUIAutomator(“new UiScrollable(new UiSelector()
.resourceId(” + Container +”))
.setAsHorizontalList().scrollIntoView(“+ “new UiSelector()
.textMatches(” + Textmatch + “).instance(0))”));
So what should I do if I don’t have the resource-id and textMatches?