def set_questionnaire_language(self, language): Select(self.driver.find( by_name("project_language"))).select_by_visible_text(language)
def get_questionnaire_language(self): return Select(self.driver.find( by_name("project_language"))).first_selected_option.text