Chromedriver not deleting scoped* dir in temp folder after test is complete

后端 未结 6 1587
野性不改
野性不改 2021-02-07 09:26

With latest chromedriver.exe running into out of disk space issues as chromedriver is not deleting the folder named scoped_* at the end of the execution. It is occupying almost

6条回答
  •  离开以前
    2021-02-07 10:15

    This solution works on Selenium 3.141.59. Before doing a driver.quit() in your tear-down method, use driver.close(). Selenium WebDriver will automatically delete the scoped_dir folders it creates during execution.

提交回复
热议问题