【发布时间】:2021-11-19 13:24:44
【问题描述】:
问题是 scrollIntoView 滑动然后向上查找元素。但是当您可以通过向下滑动来刷新站点时,它只会向下滚动一次。为什么会这样,是否有不同的可能性? 代码片段:
await driver.$(`android=${`new UiScrollable(new UiSelector().scrollable(true)).setSwipeDeadZonePercentage(0.4) .scrollIntoView(new UiSelector().resourceId("resource-id of the element"))`}`);
【问题讨论】:
标签: javascript appium