Whenever we invoke Firefox, under \'/tmp\' directory rust_mozprofile directories are getting created. As Firefox internally calls Geckodriver we are not sure whether Firefox
You can set the location with the TMPDIR envvar. It's also useful to set both TMP and TEMP for other programs.