Appium-swipe

2017-01-01 10:46
  • 向左滑动
 import time
    time.sleep(10)
    width = cts.get_window_size()["width"]
    print(width)
    height = cts.get_window_size()["height"]
    print(height)
    cts.swipe(width/4*3 , height / 2, width / 4 *1, height / 2, 500)