Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能帮我删除在 Web 驱动程序测试运行期间生成的临时文件?我正在使用 selenium web 驱动程序 1.25 和 IE 7。在 java 中实现我的测试。
在最新版本的 Webdriver 中使用 driver.quit() 后,临时文件会自动删除。不能确定。是 1.25 还是 2.25 ?
一定要打电话
driver.quit();
代替
driver.close();
close() 不会删除临时文件
?