def selcet_workage(self):
     Service.select_random(self.driver, By.NAME, "cus.workage")
 def select_source(self):
     Service.select_random(
         self.driver, By.CSS_SELECTOR,
         "#addCus > div:nth-child(1) > div:nth-child(5) > div:nth-child(1) > select:nth-child(2)"
     )
 def last_status(self, status):
     Service.select_random(self.driver,
                           By.CSS_SELECTOR,
                           "select.form-control:nth-child(2)",
                           selector=status)
 def select_education(self):
     Service.select_random(self.driver, By.NAME, "cus.education")
 def select_sex(self):
     Service.select_random(self.driver, By.NAME, "cus.sex")
Beispiel #6
0
 def select_pool(self,selector=None):
     Service.select_random(self.driver,By.ID,"poolSelect",selector=selector)
Beispiel #7
0
 def select_source(self, selector=None):
     Service.select_random(self.driver, By.ID, "sourceSelect", selector=selector)
Beispiel #8
0
 def select_status(self, selector=None):
     Service.select_random(self.driver, By.ID, "Select", selector=selector)
Beispiel #9
0
 def select_empname(self,selector=None):
     Service.select_random(self.driver, By.ID, "empNameSelect", selector=selector)