Skip to content

Commit

Permalink
Remove duplicate method
Browse files Browse the repository at this point in the history
  • Loading branch information
angelominisci committed Aug 5, 2024
1 parent e43a16c commit 781e2c2
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -553,20 +553,6 @@ public void siCambiaPaginaUtilizzandoUnaFrecetta(Integer numPage) {
}
}

public void siCambiaPaginaUtilizzandoUnaFrecetta(Integer numPage) {
Integer index= 0;
this.getWebDriverWait(60).withMessage("il bottone pagina successiva non è cliccabile")
.until(ExpectedConditions.visibilityOf(this.frecciaPaginaSuccessiva));
if (!frecciaPaginaSuccessiva.isDisplayed()) {
this.js().executeScript("arguments[0].scrollIntoView(true);", numeroNotificheButton);
}
while(index <= numPage){
frecciaPaginaSuccessiva.click();
index++;
WebTool.waitTime(2);
}
}

public void siCambiaPaginaUtilizzandoUnNumero() {
if (!pageNumberButton.isDisplayed()) {
this.js().executeScript("arguments[0].scrollIntoView(true);", pageNumberButton);
Expand Down

0 comments on commit 781e2c2

Please sign in to comment.