所以,我需要上传一个文件到一个页面。当我单击“输入”按钮时(它单击时没有错误),用于搜索所需文件的windows文件不会打开。 这是我的密码剪。我需要在点击时打开什么
#IMPORTAR DATOS
selec = driver.find_element_by_xpath('//*[@name="IMPORT_FILE"]')
driver.execute_script("arguments[0].click();", selec)
time.sleep(2)
[![windows文件][1][1]
谢谢! [1] :https://i.stack.imgur.com/EHktU.png
通过
pip
安装pyautogui
并执行此操作相关问题 更多 >
编程相关推荐