如何在python中使用selenium webdriver从excel导入数据
如何在python中使用SeleniumWebDriver从excel导入数据 要求是我已经通过了从excel获取数据的过程,并使用python中的selenium webdrive将其发送到网页中的文件如何在python中使用selenium webdriver从excel导入数据,python,excel,selenium,Python,Excel,Selenium,如何在python中使用SeleniumWebDriver从excel导入数据 要求是我已经通过了从excel获取数据的过程,并使用python中的selenium webdrive将其发送到网页中的文件 import xlrd xl_workbook = xlrd.open_workbook('myExcelSheet.xls') #import sheet xl_sheet = xl_workbook.sheet_by_index(1) #page col= xl_sheet.col(
import xlrd
xl_workbook = xlrd.open_workbook('myExcelSheet.xls') #import sheet
xl_sheet = xl_workbook.sheet_by_index(1) #page
col= xl_sheet.col(9) #column you want data from in sheet
您可以从col数组中提取数据,并使用它来填充SeleniumHi字段,感谢我在发送键{'text':“”中尝试传递获取错误“第348行”的值时所做的输入。join(键到键键入(值)),TypeError:sequence item 0:expected str instance,Cell found”