I use webdriver in linux using Python API
The firefox profile tmp files under /tmp are deleted when script ends normally (as I used driver.quit)
Problem arises when a my selenium script ends abruptly
I see that there is a way to delete temporary files using Java API TemporaryFilesystem.getDefaultTmpFS().deleteTemporaryFiles()'
and a package
org.openqa.selenium.io`
Is there a equivalent package for Python?