code: def get_classes(cls, el):
          
  
          classes = cls.get_attribute_by_name(el, 'class', [])
          if isinstance(classes, util.ustr):
              classes = RE_NOT_WS.findall(classes)
          return classes
docs: Get classes.