code: public void scrollTo() {
          String action = "Scrolling screen to " + prettyOutput();
          String expected = prettyOutputStart() + " is now within the current viewport";
          try {
              // wait for element to be present
              if (isNotPresent(action, expected, CANT_SCROLL)) {
                  return;
              }
              // perform the move action
              WebElement webElement = getWebElement();
              Actions builder = new Actions(driver);
              builder.moveToElement(webElement);
          } catch (Exception e) {
              cantScroll(e, action, expected);
              return;
          }
          isScrolledTo(action, expected);
      }
docs: Scrolls the page to the element, making it displayed on the current
  viewport, but only if the element is present. If that condition is not
  met, the scroll action will be logged, but skipped and the test will
  continue.