I am very much displaying my ignorance here, but when a page has multiple elements with the same class name it seems like my code no longer interacts with the page in a predictable way. For example, if there is a single element on a page with class "submit" I can write:
WebElement submitButton;
submitButton = bot.findElement(By.className("submit"));
submitButton.click();
And that submit button will be clicked in the browser. But, if on that same webpage there are two (or more) elements with class "home", I could write:
WebElement homeButton;
homeButton = bot.findElement(By.className("home"));
homeButton.click();
And it seems nothing is clicked on.