方法一:不推薦
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}