def total_info(self): total_str=self.driver.find_element_by_xpath('//div[@class="pull-left pagination-detail"]/span').text total_number=Utility.get_number(total_str,'总共') return total_number
def get_total(self): total_info = self.driver.find_element_by_xpath( '/html/body/div[8]/div[3]/div/div[1]/div[2]/div[4]/div[1]/span[1]' ).text total = Utility.get_number(total_info, '总共') return total