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(By.className("current time")).click(); space is the issue, and I see the explanation at the link, but I'm not sure how to handle it in java and don't have access to change the class name.
Pasting example of what I get in the firefox inspect id: Example with CSS selector below did not work, but I may be missing something.
<span>
<a class="current time" href="http://someurl/" onclick="s_objectID="http://someur/">url</a>
</span>