字符串组织 = "new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text("textName").instance(0))"; driver.findElement(AppiumBy.androidUIAutomator(组织)).click();
我正在尝试向下滚动,直到它正在滚动但不可单击的元素
字符串组织 = "new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text("textName").instance(0))";
driver.findElement(AppiumBy.androidUIAutomator(组织));
driver.findElement(By.id("Your_Selector_ID")).click();
使用这个