code: def swipe(self, x1, y1, x2, y2, duration=0):
          
          data = dict(fromX=x1, fromY=y1, toX=x2, toY=y2, duration=duration)
          return self.http.post('/wda/dragfromtoforduration', data=data)
docs: Args:
              duration (float): start coordinate press duration (seconds)
  
          [[FBRoute POST:@"/wda/dragfromtoforduration"] respondWithTarget:self action:@selector(handleDragCoordinate:)],