(已测试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)
本文标题:ios对某一个元素进行左滑操作
本文链接:https://www.haomeiwen.com/subject/ujizqhtx.html
网友评论