This commit is contained in:
2026-02-14 21:56:07 +03:00
parent 895bea43d2
commit b414beb6fb
23 changed files with 694 additions and 250 deletions

View File

@@ -50,7 +50,6 @@ public class MainPage {
final WebElement chosen = els.get(ThreadLocalRandom.current().nextInt(els.size()));
final String href = chosen.getAttribute("href");
System.out.println("Selected category href = " + href);
((JavascriptExecutor) driver)
.executeScript("arguments[0].scrollIntoView({block:'center'});", chosen);