Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/excel/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在python中使用selenium webdriver从excel导入数据_Python_Excel_Selenium - Fatal编程技术网

如何在python中使用selenium webdriver从excel导入数据

如何在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(

如何在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(9) #column you want data from in sheet

您可以从col数组中提取数据,并使用它来填充Selenium

Hi字段,感谢我在发送键{'text':“”中尝试传递获取错误“第348行”的值时所做的输入。join(键到键键入(值)),TypeError:sequence item 0:expected str instance,Cell found”