code: def scroll(self, direction='visible', distance=1.0):
          
          if direction == 'visible':
              self._wda_req('post', '/scroll', {'toVisible': True})
          elif direction in ['up', 'down', 'left', 'right']:
              self._wda_req('post', '/scroll', {'direction': direction, 'distance': distance})
          else:
              raise ValueError("Invalid direction")
          return self
docs: Args:
              direction (str): one of "visible", "up", "down", "left", "right"
              distance (float): swipe distance, only works when direction is not "visible"
                 
          Raises:
              ValueError
  
          distance=1.0 means, element (width or height) multiply 1.0