コード例 #1
0
  public static void refresh(WebDriver webDriver) {
    WebDriver.Navigation navigation = webDriver.navigate();

    navigation.refresh();

    if (isAlertPresent(webDriver)) {
      getConfirmation(webDriver);
    }
  }
コード例 #2
0
  @Override
  public void goBack() {
    WebDriver.Navigation navigation = navigate();

    navigation.back();
  }
コード例 #3
0
  public static void goBack(WebDriver webDriver) {
    WebDriver.Navigation navigation = webDriver.navigate();

    navigation.back();
  }
コード例 #4
0
  @Override
  public void refresh() {
    WebDriver.Navigation navigation = navigate();

    navigation.refresh();
  }