'Adds user to a course/library'

def add_user_to_course(self, email):

    self.wait_for_element_visibility('.create-user-button', 'Add    team    member    button    is    available')
    self.click_add_button()
    self.set_new_user_email(email)
    self.click_submit_new_user_form()
    self.wait_for_page()
