'Select the first group which has a label matching `group_name`.
Arguments:
group_name (str): The name of the group.
save (boolean): Whether the "save" button should be clicked
afterwards.
Returns:
bool: Whether a group with the provided name was found and clicked.'

def select_group(self, group_name, save=True):

    for option in self.all_group_options:
        if (group_name in option.text):
            checkbox = option.find_element_by_css_selector('input')
            checkbox.click()
            if save:
                self.save()
            return True
    return False
