def has_css_class(self, selector, klass):
        return (self.selenium.find_element_by_css_selector(selector)
                .get_attribute('class').find(klass) != -1)
Returns True if the element identified by `selector` has the CSS class
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/admin/tests.py/AdminSeleniumWebDriverTestCase.has_css_class