摘要: import configparserclass GetConfig(): def __init__(self,file): self.cf = configparser.ConfigParser() self.cf.read(file) def getConfigValue(self,sectio 阅读全文
posted @ 2020-07-04 22:21 静惜 阅读(156) 评论(0) 推荐(0)
摘要: import xlrdclass ReadExcel: def __init__(self,filename,sheetname): self.workbook = xlrd.open_workbook(filename) self.sheetname = self.workbook.sheet_b 阅读全文
posted @ 2020-07-04 21:51 静惜 阅读(139) 评论(0) 推荐(0)
摘要: 1. 运行程序的时候,报错:is not reachable by keyboard,这个密码框总是无法输入字符串, 解决办法: el = WebDriverWait(driver,10).until(EC.visibility_of_element_located((By.ID,'loginpwd 阅读全文
posted @ 2020-07-02 22:55 静惜 阅读(136) 评论(0) 推荐(0)