ios对某一个元素进行左滑操作
2020-02-25 本文已影响0人
小蜜蜂_a7be
(已测试OK)
def swipeElementLeft(self, element):
scrolldict = {'direction':'left','element': element}
self.driver.execute_script('mobile: swipe', scrolldict)
(已测试OK)
def swipeElementLeft(self, element):
scrolldict = {'direction':'left','element': element}
self.driver.execute_script('mobile: swipe', scrolldict)