def sign_off(self):
try:<EOL><INDENT>logger.info("<STR_LIT>")<EOL>feedback = WebDriverWait(self.driver, <NUM_LIT:20>).until(<EOL>EC.presence_of_element_located((By.ID, "<STR_LIT>"))<EOL>)<EOL>self.complete_questionnaire()<EOL>feedback.click()<EOL>logger.info("<STR_LIT>")<EOL>self.driver.switch_to_window(self.driver.window_handles[<NUM_LIT:0>])<EOL>self.driver.set_window_size(<NUM_LIT>, <NUM_LIT>)<EOL>logger.info("<STR_LIT>")<EOL>return True<EOL><DEDENT>except TimeoutException:<EOL><INDENT>logger.error("<STR_LIT>")<EOL>return False<EOL><DEDENT>
Submit questionnaire and finish.

        This uses Selenium to click the submit button on the questionnaire
        and return to the original window.