方法一:不推荐
driver.execute_script("mobile: scroll", {"direction": "down"})
实际使用中发现会执行两次滑动操作
方法二:不推荐
driver.execute_script("mobile: swipe", {"direction": "down"})
滑动距离较小
方法三:推荐使用
driver.execute_script("mobile:dragFromToForDuration",{"duration":0.5,"element":None,"fromX":0,"fromY":650,"toX":0,"toY":100}