I have used selenium with python for a while and I recently discovered that my tmp dir is full of rust_mozprofile directories. How can I have them deleted on the fly?
I read in another post that I should use driver.quit()
instead of driver.close()
but I am already using driver.quit().