python - Selenium firefox exceed disk space with temporary files -


i'm doing lot of test automation stuff using python + selenium + firefox webdriver. few time ago noticed test system fails , stops working due exceed /tmp directory space lot of tmpxxxxx directories on linux machine. solution

rm -rf /tmp 

this worked enough till today when had left many test instances @ same time night. on next morning noticed tests failed exception "disk quota exceeded". oooops. free disk space had left on /, /tmp, scripts_directory paths. strange /home disk ran scripts had no free space due tremendous number of tmpxxxxx folders there. how did happen? i'm using

driver.quit() 

instead of

driver.close() 

in python scripts, have many web driver restarts , quits in script see /tmp directory free space oscillate nearby value , not increased , on next morning see 3 gbs busy in /tmp directory. clue of tmp files disaster?


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -