Is there a way to make the code below simpler and shorter?
boolean clicked = false; for (WebElement anchor : anchorLinksForProducts) { if (anchor.getA