'Helper function that returns the value for the CSS attribute of an
DOM element specified by the given selector. Uses the jQuery that ships
with Django.'

def get_css_value(self, selector, attribute):

    return self.selenium.execute_script(('return    django.jQuery("%s").css("%s")' % (selector, attribute)))
