def select_end(self, etime): Service.remove_readonly(self.driver, 'date2') etime_ele = self.driver.find_element_by_id('date2') Service.send_input(etime_ele, etime)
def select_begin(self, stime): Service.remove_readonly(self.driver, 'date1') stime_ele = self.driver.find_element_by_id('date1') Service.send_input(stime_ele, stime)