I'd like to ask how I could make my for loop work, all I want to do is count up every second if all 6 elements can't be found. I have 6 graphs and I want to see how long it takes for the 6 graphs to load, I don't care if 1 graph loads 2 seconds in, I want to see how long it takes until every single graph is present.

```
@Test
public void loadingTime(){
    for(int t = 0; t < 100; t++){
        WebElement first = driver.findElement(By.xpath("//*[@id=\"chart_mnic\"]/svg"));
        WebElement second = driver.findElement(By.xpath("//*[@id=\"chart_ci\"]/canvas[2]"));
        WebElement third = driver.findElement(By.xpath("//*[@id=\"//*[@id=\"chart_cnic\"]/canvas[2]"));
        WebElement fourth = driver.findElement(By.xpath("//*[@id=\"chart_cac\"]/canvas[2]"));
        WebElement fifth = driver.findElement(By.xpath("//*[@id=\"chart_mq\"]/svg"));
        WebElement sixth = driver.findElement(By.xpath("//*[@id=\"chart_cq\"]/canvas[2]"));
        break;
    }
}

```

So I was wondering whether I do this with an implicit wait or something? I'm fairly new to programming so I can't seem to be able to find a solution.

Any help would be appreciated, even if the solution suggested is entirely different, I'm open to ideas.

GRAPHS IN QUESTION are clickable, if that helps.