code: def swipe(self, x1, y1, x2, y2, duration=0.5):
          
          scale = self.scale
          x1, y1, x2, y2 = x1/scale, y1/scale, x2/scale, y2/scale
          self.session.swipe(x1, y1, x2, y2, duration)
docs: Simulate swipe operation
          Args:
              x1, y1(int): from position
              x2, y2(int): to position
              duration(float): swipe duration, unit seconds