I have used NSSM to create a Windows Service for my Selenium Server instance (v 2.48.2 of the Selenium Server Standalone JAR).
I have also set the service to log on as a Local System Account, and have allowed the service to interact with the desktop. When I have used a particular account for the service, instead of the local system account, Internet Explorer would not launch.
I noticed that after a few days, the hard disk would start filling up with temporary internet files at the following location:
C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5
After a few days, I saw that the size of this folder was ~30 GB. I have had to manually clear out this folder.
I've 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
Has anyone else run into this issue?
driver.dispose()
in the end of each run? – Guydriver.quit();
– Guy