appium版本1.7的向下滚动脚本,而不是scrollTo、Touchoption、Swipe

appium版本1.7的向下滚动脚本,而不是scrollTo、Touchoption、Swipe,appium,ui-select,android-uiautomator,Appium,Ui Select,Android Uiautomator,请发现以下脚本不适用于基于appium中文本“English”的向下滚动 String Scrollviewcontainer=“new UiSelector().resourceId(\”com.eterno:id/parent\u onboarding\u language\u container\”); String scrollelement=“new UiSelector().text(\“English\”) driver.findElement(MobileBy.AndroidUI

请发现以下脚本不适用于基于appium中文本“English”的向下滚动

String Scrollviewcontainer=“new UiSelector().resourceId(\”com.eterno:id/parent\u onboarding\u language\u container\”); String scrollelement=“new UiSelector().text(\“English\”)

driver.findElement(MobileBy.AndroidUIAutomator(“新的UiScrollable(“+Scrollviewcontainer+”)”)+”。scrollIntoView(“+scrollelement+”))

试试这个

driver.findElementByAndroidUIAutomator(
                "new UiScrollable(new UiSelector()).scrollIntoView(new UiSelector().text(\"English\"));");

@veerapathiran您是否尝试过使用上述解决方案?