'Delete a section at index `index`'

def _delete_section(self, index):

    LogoutPage(self.browser).visit()
    AutoAuthPage(self.browser, username=self.USERNAME, email=self.EMAIL, course_id=self.course_id, staff=True).visit()
    self.studio_course_outline_page.visit()
    self.studio_course_outline_page.wait_for_page()
    self.studio_course_outline_page.section_at(index).delete()
    LogoutPage(self.browser).visit()
    AutoAuthPage(self.browser, username=self.USERNAME, email=self.EMAIL, course_id=self.course_id).visit()
    self.courseware_page.visit()
    self.courseware_page.wait_for_page()
