I have java web application with pool of selenium ChromeDrivers. This pool is exists because of quicker response from REST api (without creating WebDrivers every time).
The problem is, that the chromedrivers are still alive after Tomcat restart.
Is it possible to set some expiration time of each process? Because I cant kill processes manualy every time when I restart the Tomcat.
Or maybe start the chromedrivers with some daemon configuration same as java threads?
Thanks for any answer :)