def document_type_select(self, document_type): """ Method select type of document in select menu :param document_type: String document type. If type exists in select menu, then method will click on it, else will leave default value :return: """ dropdown_select_by_text(self.document_type_select_field, document_type)
def select_dictionary_by_name(self, text): dropdown_select_by_text(self.dictionaries_select_elem, text) self.wait_until_page_generate()