code: public Actions moveToElement(WebElement target) {
      if (isBuildingActions()) {
        action.addAction(new MoveMouseAction(jsonMouse, (Locatable) target));
      }
  
      return moveInTicks(target, 0, 0);
    }
docs: Moves the mouse to the middle of the element. The element is scrolled into view and its
  location is calculated using getBoundingClientRect.
  @param target element to move to.
  @return A self reference.