This question received great answers in jquery and I was wondering if someone could give an example of this in Java please?
I\'m doing driver.findElement(
driver.findElement(
For a less fragile test, another option is to use an XPATH which doesn't depend of the order of classes, like:
WebElement element = driver.findElement(By.xpath("//a[contains(@class, 'current') and contains(@class, 'time')]"));