public static void refresh(WebDriver webDriver) {
    WebDriver.Navigation navigation = webDriver.navigate();

    navigation.refresh();

    if (isAlertPresent(webDriver)) {
      getConfirmation(webDriver);
    }
  }
  @Override
  public void refresh() {
    WebDriver.Navigation navigation = navigate();

    navigation.refresh();
  }