1.上传页面带input type格式send_keys传值方式上传不能大于60k(具体看开发设置的value)文件大小
fx.find_element_by_id('xx').send_keys(r'地址/xx.jpg')
2.autoIT控件上传
webdriver不能操作Windows GUI界面需要借助autoIT 编写脚本成xx.exe文件
到python中
import os
调用autoIT脚本操作Windows gui界面操作上传文件
os.system(r'url/xx.exe')