I am using NSSM (
https://nssm.cc/) to run my Selenium Remote Server instance as a Windows Service on a Windows 7 instance. This box is not being used for anything other than running the Selenium Server.
After letting the box run for a few days, while running test cases against this server, I noticed that the hard disk was being filled up. Many files (~30 GB) began to appear in the following folder: C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5
Is there something that I am missing in terms of configuration to have these files cleared out automatically? I have had to go in every few days to clear these temporary files out, which I would like to avoid.
I used the following command to create the service:
nssm install seleniumhub java -jar C:\selenium-server\selenium-server-standalone-2.48.2.jar -Dwebdriver.chrome.driver=C:\selenium-server\chromedriver.exe -Dwebdriver.ie.driver=C:\selenium-server\IEDriverServer.exe
I have set this Windows service to log on as a Local System Account, and I've allowed the service to interact with the desktop.
Any help is greatly appreciated!