示例#1
0
 def _control_product_locator(self):
     if scrape_tools._element_found(
             self.driver,
         ('id',
          'select2-ctl00_ContentPlaceHolder1_ddlClientType-container')):
         self.alert_log.append(5)
     if scrape_tools._element_found(
             self.driver,
         ('id',
          'select2-ctl00_ContentPlaceHolder1_ddlCreditType-container')):
         self.alert_log.append(5)
示例#2
0
 def _contol_campaign_locator(self):
     if scrape_tools._element_found(self.driver,
                                    ('id', 'campaignsForCredit')):
         self.alert_log.append(6)
示例#3
0
 def _control_submit_locator(self, submit_locator):
     scrape_tools._element_found(self.driver, submit_locator)
示例#4
0
 def _control_campaign_locator(self):
     if scrape_tools._element_found(
             self.driver,
         ('id',
          'select2-ctl00_ContentPlaceHolder1_ddlCreditCategory-container')):
         self.alert_log.append(6)