def input_goodstype(self, goodstype): type = UiUtil.find_element('store_query', 'goodstype') UiUtil.select_by_text(type, goodstype)
def input_sex(self, childsex): sex = self.driver.find_element_by_id('childsex') UiUtil.select_by_text(sex, childsex)