'Return list of the group-configurations-list-item\'s of specified type for the course.'

def _get_groups(self, prefix):

    css = (prefix + '    .wrapper-collection')
    return [GroupConfiguration(self, prefix, index) for index in xrange(len(self.q(css=css)))]
