摘要: 读取excel case数据 import xlrd import json def getExcel(excelDir,sheetName,caseName): lis = [] # 打开excel workbook = xlrd.open_workbook(excelDir,formatting 阅读全文
posted @ 2021-03-28 23:04 太白之魔童降世 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 下拉框操作 from selenium.webdriver.support.select import Select # 定位到下拉框元素 ele = driver.find_element_by_id("abc") # # 根据下拉框文本选择 Select(ele).select_by_visib 阅读全文
posted @ 2021-03-28 00:00 太白之魔童降世 阅读(76) 评论(0) 推荐(0) 编辑