Appium python 版本,上下滑动函数 scroll 无法正常使用

kyotokyoking · September 15, 2014 · 810 hits

python 源代码如下:
def test_scroll(self):

els = self.driver.find_elements_by_class_name('UIATableCell')
self.driver.scroll(els[1],els[2])
sleep(5)

log 日志正常,但是并未从第一个 cell 向下滑动到第二个。
求问万能的论坛 scroll 函数的使用方法?及当前代码使用有什么问题?(代码参照 Github 源码)

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up