I am very new to Selenium, so my apologies if it\'s a silly question.
I have successfully wired up IntelliJ (Play! framework) with Selenium, and created some tests using firefox
Once you find the element, you can just call myElement.GetAttribute("class"). Then you can parse the string that is returned and see if it contains or does not contain the class name you care about.