【发布时间】:2021-04-21 10:57:58
【问题描述】:
当我尝试使用滚动查找元素时,我想知道UI Automator 和driver.swipe 之间有什么不同。
使用UI Automator,我可以滚动并找到element\elements 和text\text contains\id\text starts with:
new UiScrollable(new UiSelector().scrollable(true).instance(0)).scrollIntoView(new UiSelector().text("' + text + '").instance(0))')
而driver.swipe 是x 和y
【问题讨论】:
标签: android scroll appium ui-automation