def select_source(self,cus_source):
     source=self.driver.find_element_by_xpath('//form[@id="addCus"]/div/div[5]/div/select')
     Service.select_by_name(source,cus_source)
 def select_grade(self,cus_grade):
     grade=self.driver.find_element_by_xpath('//form[@id="addCus"]/div/div[3]/div[2]/select')
     Service.select_by_name(grade,cus_grade)
 def select_experience(self,experience_name):
     experience=self.driver.find_element_by_xpath('//form[@id="addCus"]/div/div[4]/div[2]/select')
     Service.select_by_name(experience,experience_name)
 def select_sex(self,cus_sex):
     sex=self.driver.find_element_by_xpath('//form[@id="addCus"]/div/div/div[3]/select')
     Service.select_by_name(sex,cus_sex)
 def select_status(self,cus_status):
     status=self.driver.find_element_by_xpath('//div[@class="modal-body"]/div[2]/div/select')
     Service.select_by_name(status,cus_status)
 def select_source(self, source_name):
     select = self.driver.find_element_by_xpath(
         '//div[@id="content"]/div[2]/div/select[3]')
     Service.select_by_name(select, source_name)
    def select_worker(self, work_name):
        select = self.driver.find_element_by_css_selector(
            'div.col-lg-12:nth-child(8) > select:nth-child(1)')

        select.click()
        Service.select_by_name(select, work_name)
    def select_pooltype(self, pool_name):

        # Service.miss_login(self.driver,'..\\config\\base.conf')
        select = self.driver.find_element_by_xpath(
            '//div[@id="content"]/div[2]/div/select[1]')
        Service.select_by_name(select, pool_name)
 def select_branch(self, cus_section):
     sex = self.driver.find_element_by_xpath(
         '/html/body/div[15]/div/div/form/div/div[1]/div[2]/select')
     Service.select_by_name(sex, cus_section)
 def select_area(self, cus_zone):
     sex = self.driver.find_element_by_xpath(
         '/html/body/div[15]/div/div/form/div/div[1]/div[1]/select')
     Service.select_by_name(sex, cus_zone)