defsearch_company(self, company_name):#time.sleep(0.3)
try:
result={}
result[COMPANY.NAME]=utils.normalizeCompanyName(company_name)
logger.info("search for: %s" %(company_name,))'''self.driver.get('https://m.qichacha.com/')
self.driver.find_element_by_id('searchkey').send_keys(company_name)
# 单击搜索按钮
srh_btn = self.driver.find_element_by_xpath('//*[@id="V3_Index_S"]//span')
srh_btn.click()'''self.driver.get('https://m.qcc.com/search?key=%s' %(company_name))
utils.alertWait(WebDriverWait(self.driver,3).until,
expected_conditions.presence_of_element_located(
(By.XPATH,'//*[contains(@class,"text-danger") or contains(@class,"nodata")]')), 5, 0,"not found text-danger or nodata")#检测企业是不是存在
inc_full = self.driver.fi