def input_time_begin(self, childdate): Service.remove_readonly(self.driver, 'childdate') childdate_one = self.driver.find_element_by_css_selector( '#leave-form > ' 'div:nth-child(2) > div:nth-child(1) > input:nth-child(2)') Service.send_input(childdate_one, childdate)
def input_eduexp(self, eduexp): d_eduexp = self.driver.find_element_by_name('cus.eduexp') Service.send_input(d_eduexp, eduexp)
def input_phone(self, telephone): phone = self.driver.find_elements_by_name('cus.tel')[0] Service.send_input(phone, telephone)
def input_time(self, data_time1, data_time2): data1 = self.driver.find_element_by_id('date1') Service.send_input(data1, data_time1) data2 = self.driver.find_element_by_id('date2') Service.send_input(data2, data_time2)
def click_deliver_Info(self, ucus): uname = self.driver.find_element_by_name('cusInfo') Service.send_input(uname, ucus)
def job_intention(self, intention): uinten = self.driver.find_element_by_id('cusIntent') Service.send_input(uinten, intention)
def edit_phone(self, phone): uphone = self.driver.find_element_by_id('cusTel') Service.send_input(uphone, phone)
def input_remark(self, mremark): remark = self.driver.find_element_by_id('mremark') Service.send_input(remark, mremark)
def input_QQ(self, QQ): d_qq = self.driver.find_element_by_name('cus.qq') Service.send_input(d_qq, QQ)
def input_mail(self, mail): d_mail = self.driver.find_element_by_name('cus.email') Service.send_input(d_mail, mail)
def input_name(self, name): d_name = self.driver.find_element_by_name('cus.name') Service.send_input(d_name, name)
def input_phone(self, phone): d_phone = self.driver.find_element_by_name('cus.tel') Service.send_input(d_phone, phone)
def input_decode_passwd(self, decode_passwd): d_passwd = self.driver.find_element_by_name('secondPass') Service.send_input(d_passwd, decode_passwd)
def input_last_tracking_remark(self, last_tracking_remark): d_last_tracking_remark = self.driver.find_element_by_name( 'cus.last_tracking_remark') Service.send_input(d_last_tracking_remark, last_tracking_remark)
def input_experience(self, experience): d_experience = self.driver.find_element_by_name('cus.experience') Service.send_input(d_experience, experience)
def input_evalute(self, evalute_content): content = self.driver.find_element_by_id('sval') Service.send_input(content, evalute_content)
def input_salary(self, salary): money = self.driver.find_element_by_id('msalary') Service.send_input(money, salary)
def input_school(self, school): d_school = self.driver.find_element_by_name('cus.school') Service.send_input(d_school, school)
def edit_name(self, name): uname = self.driver.find_element_by_id('cusName') Service.send_input(uname, name)
def input_major(self, major): d_major = self.driver.find_element_by_name('cus.major') Service.send_input(d_major, major)
def click_psd(self, passwd): self.driver.find_element_by_id('btn-decrypt').click() sepass = self.driver.find_element_by_name('secondPass') Service.send_input(sepass, passwd) time.sleep(5) self.driver.find_elements_by_class_name('btn.btn-info')[0].click()
def input_intent(self, intent): d_intent = self.driver.find_element_by_name('cus.intent') Service.send_input(d_intent, intent)
def input_record(self, record): records = self.driver.find_element_by_css_selector( 'textarea.form-control') Service.send_input(records, record)
def input_salary(self, salary): d_salary = self.driver.find_element_by_name('cus.salary') Service.send_input(d_salary, salary)
def input_prorate(self, proportion0, proportion1, proportion2, proportion3, proportion4, proportion5): pro0 = self.driver.find_element_by_name('proportion0') Service.send_input(pro0, proportion0) pro1 = self.driver.find_element_by_name('proportion1') Service.send_input(pro1, proportion1) pro2 = self.driver.find_element_by_name('proportion2') Service.send_input(pro2, proportion2) pro3 = self.driver.find_element_by_name('proportion3') Service.send_input(pro3, proportion3) pro4 = self.driver.find_element_by_name('proportion4') Service.send_input(pro4, proportion4) pro5 = self.driver.find_element_by_name('proportion5') Service.send_input(pro5, proportion5)
def input_applposition(self, applposition): d_applposition = self.driver.find_element_by_name('cus.applposition') Service.send_input(d_applposition, applposition)
def input_text(self, text_want): cus = self.driver.find_element_by_name('cusInfo') Service.send_input(cus, text_want)
def input_age(self, age): d_age = self.driver.find_element_by_name('cus.age') Service.send_input(d_age, age)
def input_name(self, in_name): names = self.driver.find_elements_by_name('cus.name')[0] Service.send_input(names, in_name)
def input_question(self, question_content): content = self.driver.find_element_by_id('squestion') Service.send_input(content, question_content)