'Expand the Student Attempts Section'

def select_exam_attempts_section(self):

    exam_attempts_section = SpecialExamsPageAttemptsSection(self.browser)
    if (not self.q(css='div.wrap    #ui-accordion-proctoring-accordion-header-1[aria-selected=true]').present):
        self.q(css='div.wrap    #ui-accordion-proctoring-accordion-header-1').click()
        self.wait_for_element_presence('div.wrap    #ui-accordion-proctoring-accordion-header-1[aria-selected=true]', 'Attempts    Section')
    exam_attempts_section.wait_for_page()
    return exam_attempts_section
