标签: python python-3.x selenium web-crawler
如何使用硒在 Firefox 中关闭文件上传窗口?
我已经尝试过ActionChains(driver).send_keys(Keys.ESCAPE).perform()命令,但是它不起作用。
ActionChains(driver).send_keys(Keys.ESCAPE).perform()
由于模态未正确关闭,因此驱动程序无法正确关闭。